Problem: coveralls does not install on OSX

Solution: enable coverall on linux only.
This commit is contained in:
Pawel Kurdybacha 2018-05-13 16:21:48 +01:00
parent 4311d1d933
commit 3807107f56

View File

@ -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:
@ -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