Skip to content

Commit

Permalink
Add travis config.
Browse files Browse the repository at this point in the history
  • Loading branch information
mossblaser committed Apr 15, 2016
1 parent 1bed89f commit b14d473
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .travis.yml
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

0 comments on commit b14d473

Please sign in to comment.