File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,12 @@ before_install:
15
15
- sudo apt-get install -qq gccxml
16
16
# Install pep8, needed by the unit tests
17
17
- pip install pep8
18
- # Install coverage tools
19
- - pip install coverage
18
+ # Install coverage tools (On 3.2 the new coverage is broken, use an old one)
19
+ # https://github.com/menegazzo/travispy/issues/20
20
+ - if [ $TRAVIS_PYTHON_VERSION == 3.2 ];
21
+ then pip install coverage<4; else
22
+ pip install coverage;
23
+ fi
20
24
- pip install coveralls
21
25
22
26
install :
@@ -31,7 +35,7 @@ script:
31
35
# Run the tests with coverage
32
36
- coverage run unittests/test_all.py
33
37
# Combine multiple .coverage files (we have multiple files because some scripts were run in a subprocess).
34
- # - coverage combine
38
+ - coverage combine
35
39
36
40
after_success :
37
41
# Send coverage result to https://coveralls.io/r/gccxml/pygccxml
You can’t perform that action at this time.
0 commit comments