Skip to content

Commit

Permalink
Modified .travis.yml for open source builds
Browse files Browse the repository at this point in the history
Change-Id: I79c0d2cd575670b494948862b5b2407c3458189b
  • Loading branch information
kdesmith committed Nov 7, 2017
1 parent d1b74b4 commit b0c88b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ install:
- cd datastore
- pip install .
- pip install -r requirements.txt
- cd ../ctrl
- cd ../actsys
- pip install .
- pip install -r requirements.txt
- cd ..
# command to run tests
# The first runs pylint, reads the code raiting and errors if the rating is below 8.
# The second runs the tests.
script:
- cd ctrl
- cd actsys
- pylint --ignore-patterns=test* control | tee /dev/tty | gawk 'match($0, /[0-9]\.[0-9]*\//, a) {exit a[1]}' || [[ $? == 0 || $? -ge 8 ]]
- python -m pytest . --cov=control --cov-report term-missing --cov-report xml
- cd ../datastore
Expand Down

0 comments on commit b0c88b8

Please sign in to comment.