Skip to content

Commit 3807107

Browse files
committed
Problem: coveralls does not install on OSX
Solution: enable coverall on linux only.
1 parent 4311d1d commit 3807107

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ matrix:
6262
sudo: false
6363

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

6767
# Build and check this project
6868
script:
@@ -71,4 +71,4 @@ script:
7171
- ./ci_build.sh
7272

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

0 commit comments

Comments
 (0)