Skip to content

Commit

Permalink
Problem: coveralls does not install on OSX
Browse files Browse the repository at this point in the history
Solution: enable coverall on linux only.
  • Loading branch information
kurdybacha committed May 13, 2018
1 parent 4311d1d commit 3807107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ matrix:
sudo: false

before_install:
- pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --user cpp-coveralls
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then pip install --user cpp-coveralls; fi

# Build and check this project
script:
Expand All @@ -71,4 +71,4 @@ script:
- ./ci_build.sh

after_success:
- coveralls --root . -E ".*external.*" -E ".*CMakeFiles.*" -E ".*tests/" -E ".*demo/" -E ".*libzmq/"
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then coveralls --root . -E ".*external.*" -E ".*CMakeFiles.*" -E ".*tests/" -E ".*demo/" -E ".*libzmq/"; fi

0 comments on commit 3807107

Please sign in to comment.