Skip to content

Commit 364d7e0

Browse files
committed
cleanup CI
1 parent cd97006 commit 364d7e0

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.appveyor.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff 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-
2725
build_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

3733
after_build:
3834
- make test
35+
- cd ..
3936
- pytest -v
4037

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: python
22
fast_finish: true
33

44
python:
5+
- 2.7
56
- 3.6
67

78
os:
@@ -41,7 +42,13 @@ install:
4142

4243
script:
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

0 commit comments

Comments
 (0)