Skip to content

Commit

Permalink
Test coverage only on Linux
Browse files Browse the repository at this point in the history
Several tests are disabled on macOS because of the broken Dakota
binary from the csdms-stack chennel.
  • Loading branch information
mdpiper committed Sep 14, 2019
1 parent 5a6f392 commit 7d5d126
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,15 @@ before_script:
- conda install -c conda-forge coveralls hydrotrend

script:
- nosetests --with-doctest --with-coverage --cover-package=dakotathon
- |
if [[ $TRAVIS_OS_NAME != "osx" ]]; then
nosetests --with-doctest --with-coverage --cover-package=dakotathon
else
nosetests --with-doctest
fi
after_success:
- coveralls
- |
if [[ $TRAVIS_OS_NAME != "osx" ]]; then
coveralls
fi

0 comments on commit 7d5d126

Please sign in to comment.