/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to .travis.yml

Switch --coverage to use coverage module.

Merged from https://code.launchpad.net/~jelmer/brz/coverage-coverage/+merge/345192

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
matrix:
15
15
  include:
16
16
    - python: 2.7
17
 
      env: SELFTEST_OPTIONS=""
 
17
      env: SELFTEST_OPTIONS="--coverage"
18
18
           EXTRA_MAKE_ARGS="extensions"
19
19
 
20
20
script:
21
21
  - make docs $EXTRA_MAKE_ARGS
22
 
  - BRZ_PLUGIN_PATH=-site:-user python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -m coverage run -p --source=breezy ./brz selftest --parallel=fork $SELFTEST_OPTIONS
 
22
  - BRZ_PLUGIN_PATH=-site:-user python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning ./brz selftest --parallel=fork $SELFTEST_OPTIONS
23
23
 
24
24
install:
25
25
  - sudo apt install python-all-dev python3-all-dev subunit
27
27
  - travis_retry pip install -U pip coverage codecov flake8 testtools paramiko fastimport configobj cython testscenarios six docutils python-subunit $TEST_REQUIRE
28
28
 
29
29
after_success:
30
 
  - python -m coverage combine
31
30
  - codecov