Skip to content

Commit 426f8d6

Browse files
committed
reenable nightly, move diffcover to non-docker 2.7 build
1 parent 94cc72a commit 426f8d6

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ notifications:
88
# Then run the remainder.
99

1010
matrix:
11-
fast_finish: false
11+
fast_finish: true
1212
allow_failures:
1313
- python: nightly
1414
include:
@@ -24,6 +24,7 @@ matrix:
2424
- python: '3.5'
2525
- python: '3.4'
2626
- python: '3.3'
27+
- python: 'nightly'
2728

2829
dist: trusty
2930

.travis/after_success.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ coverage report
1313
pip install coveralls-merge
1414
coveralls-merge coverage.c.json
1515

16-
if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then
16+
if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ] && [ "$DOCKER" == "" ]; then
1717
pip install pep8 pyflakes
1818
pep8 --statistics --count PIL/*.py
1919
pep8 --statistics --count Tests/*.py
2020
pyflakes *.py | tee >(wc -l)
2121
pyflakes PIL/*.py | tee >(wc -l)
2222
pyflakes Tests/*.py | tee >(wc -l)
23-
fi
2423

25-
# Coverage and quality reports on just the latest diff.
26-
# (Installation is very slow on Py3, so just do it for Py2.)
27-
if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then depends/diffcover-install.sh; fi
28-
if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then depends/diffcover-run.sh; fi
24+
# Coverage and quality reports on just the latest diff.
25+
# (Installation is very slow on Py3, so just do it for Py2.)
26+
depends/diffcover-install.sh
27+
depends/diffcover-run.sh
28+
fi
2929

3030
# after_all
3131

0 commit comments

Comments
 (0)