File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,16 @@ before_build:
2222- sh : sudo apt -yq update > /dev/null
2323- sh : sudo apt install -yq --no-install-suggests --no-install-recommends gfortran cmake make > /dev/null
2424
25- - cd bin
26-
2725build_script :
26+ - pip install -e .[tests]
27+
28+ - cd bin
2829- cmd : cmake -G "MinGW Makefiles" ..
2930- sh : cmake ..
30-
3131- make
32-
33- - cd ..
34- - cmd : where python
35- - pip -q install -e .[tests]
3632
3733after_build :
3834- make test
35+ - cd ..
3936- pytest -v
4037
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ language: python
22fast_finish : true
33
44python :
5+ - 2.7
56 - 3.6
67
78os :
@@ -41,7 +42,13 @@ install:
4142
4243script :
4344 - pytest -v
44- - coverage run tests/test_all.py
4545
46- after_success : coveralls
46+ after_success :
47+ - if [[ $TRAVIS_PYTHON_VERSION == 3.6* ]]; then
48+ coverage run tests/test_all.py;
49+ coveralls;
50+ fi
51+
52+ after_failure :
53+ - ctest -V
4754
You can’t perform that action at this time.
0 commit comments