-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated code coverage checking to codecov.io (#9)
* Migrated code coverage checking to codecov.io
- Loading branch information
1 parent
c8e7d81
commit 5ffd39b
Showing
5 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,30 @@ | ||
language: python | ||
matrix: | ||
include: | ||
- os: linux | ||
- env: TARGET="linux-python27" | ||
os: linux | ||
dist: trusty | ||
sudo: required | ||
python: 3.6 | ||
exclude: | ||
- os: osx | ||
language: generic | ||
env: PYTHONPATH=/Library/Python/3.6/site-packages/ | ||
group: edge | ||
python: 2.7 | ||
- env: TARGET="linux-python36" | ||
os: linux | ||
dist: trusty | ||
sudo: required | ||
group: edge | ||
python: 3.6 | ||
- env: [TARGET="macos-python27", PYTHONPATH="/Library/Python/2.7/site-packages/"] | ||
os: osx | ||
osx_image: xcode9.2 | ||
language: generic | ||
allow_failures: | ||
- env: TARGET="linux-python27" | ||
- env: [TARGET="macos-python27", PYTHONPATH="/Library/Python/2.7/site-packages/"] | ||
cache: pip | ||
install: | ||
- pip install -r src/requirements.txt | ||
- pip install coveralls | ||
script: | ||
- python src/run_tests.py | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coverage run --source=src/plasoscaffolder src/run_tests_for_coverage.py test ; fi | ||
install: | ||
- pip install -r requirements.txt | ||
- pip install coverage | ||
script: | ||
- if test ${TARGET} = "linux-python36"; then coverage run --source=plasoscaffolder ./src/run_tests_for_coverage.py test; else ./src/run_tests.py; fi | ||
after_success: | ||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coveralls ; fi | ||
- if test ${TARGET} = "linux-python36"; then curl -o codecov.sh -s https://codecov.io/bash && /bin/bash ./codecov.sh; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.