-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1bed89f
commit b14d473
Showing
1 changed file
with
28 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
sudo: false | ||
language: python | ||
python: | ||
- 2.7 | ||
- 3.4 | ||
- 3.5 | ||
install: | ||
- python setup.py install | ||
- pip install -r requirements-test.txt | ||
- pip install codecov | ||
script: | ||
# Build and run C tests | ||
- ./c_tests/run.sh | ||
# Note: since we're testing an installed version, the code coverage | ||
# must be checked against this version, not the one in './rig_c_scp/'. | ||
- > | ||
py.test py_tests/ \ | ||
--cov "$(./utils/rig_path.py)" \ | ||
--cov py_tests \ | ||
--durations=10 | ||
# Code quality check | ||
- flake8 rig_c_scp py_tests | ||
after_success: | ||
- codecov | ||
notifications: | ||
email: false | ||
matrix: | ||
fast_finish: true |