Skip to content

Trouble getting started #5

Open

Description

@bennn

I've been having trouble getting started & am currently stuck. Here's my full experience:

  1. Downloaded cover via raco. Copied the .travis.yml from this repo into my repo.
  2. Enabled my repo on Travis & Coveralls
  3. Travis-CI build passes. No coverage report generated.
  4. Try raco cover -b -f coveralls . locally. Fails with cover: given unknown coverage output format: "coveralls"
  5. Install cover-coveralls through raco. Try raco cover -b -f coveralls ., fails with No repo token or ci service detected.
  6. Run export COVERALLS_REPO_TOKEN=MY...KEY. Run raco cover -b -f coveralls .. Fails with racket: exec failed (Permission denied; errno=13) coveralls: request to coveralls failed

What's the preferred way to set my COVERALLS_REPO_TOKEN?

Activity

  1. florence commented on Sep 30, 2015

    @florence
    Collaborator

    It looks instructions in the README are bogus.

    While I get that fixed: What you want is to add cover-coveralls to your build-deps, the use a travis.yaml file like in https://github.com/florence/pop-pl/blob/master/.travis.yml .

    Also, step 6 looks like a bug in the package system I thought I had fixed.... What OS are you on, and what version of racket are you running?

  2. added a commit that references this issue on Sep 30, 2015
  3. florence commented on Sep 30, 2015

    @florence
    Collaborator

    Oh! also note that a coverage failure will NOT cause a build failure. I suspect you got an error on that build that "passed". Can you check the log and see what happened?

  4. bennn commented on Sep 30, 2015

    @bennn
    Author

    OSX 10.7.5, Racket v6.9.700.17

    Yes my Travis builds all pass. Steps 4,5,6 were run locally on my own command line -- I just wanted to see if it would work outside of Travis.

  5. added a commit that references this issue on Sep 30, 2015
  6. florence commented on Sep 30, 2015

    @florence
    Collaborator

    The call to coveralls may have failed even if the travis builds passed. Can you inspect the logs for an error?

    What racket commit are you on/how recent is your build? The fix for the pkg bug was only put in last week.

  7. bennn commented on Sep 30, 2015

    @bennn
    Author

    Success! I do have coverage reports with the POP-PL travis file.

    My Racket is September 18, commit a9015e5484865157f.

    The calls to coveralls were failing in Travis when called "after success".

  8. florence commented on Sep 30, 2015

    @florence
    Collaborator

    Wohoo!

    @bennn yeah, if you grab a more recent racket version things should work locally.

    @rpless do the changes I made to the readme look good enough to close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions