Skip to content

Commit

Permalink
actually run coverage in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Oct 26, 2014
1 parent 3326b91 commit 3195048
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ install:
# Tests running commands
script:
- "[ $IS_LATEST = false ] || make frontend_install_tests"
- trial --reporter=text --rterrors buildbot.test
- trial --reporter=text --rterrors buildslave.test
# run tests under coverage for latest only (it's slower..)
- "[ $IS_LATEST = true ] || trial --reporter=text --rterrors buildbot.test buildslave.test"
- "[ $IS_LATEST = false ] || coverage run --rcfile=.coveragerc $(which trial) --reporter=text --rterrors buildbot.test buildslave.test"

# Run additional tests only in latest configuration
- "[ $IS_LATEST = false ] || make pylint"
Expand All @@ -111,4 +112,4 @@ notifications:
email: false

after_success:
coveralls
- "[ $IS_LATEST = false ] || coveralls"

0 comments on commit 3195048

Please sign in to comment.