File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -20,26 +20,24 @@ matrix:
2020
2121 include :
2222 - os : linux
23- python : 3.5
24- env : DISTRIB="ubuntu"
25- - os : linux
26- python : 3.6
27- env : DISTRIB="ubuntu"
23+ env : DISTRIB="conda" EXAMPLES="true" PYTHON=3.7"
2824 - os : linux
29- python : 3.7
30- env : DISTRIB="ubuntu"
25+ env : DISTRIB="conda" RUN_FLAKE8="true" SKIP_TESTS="true"
3126 - os : linux
3227 env : DISTRIB="conda" PYTHON="3.5"
3328 - os : linux
3429 env : DISTRIB="conda" COVERAGE="true" DOCPUSH="true" PYTHON="3.6"
3530 - os : linux
3631 env : DISTRIB="conda" TEST_DIST="true" PYTHON="3.7"
3732 - os : linux
38- env : DISTRIB="conda" EXAMPLES="true" PYTHON=3.7"
33+ python : 3.5
34+ env : DISTRIB="ubuntu"
3935 - os : linux
40- env : DISTRIB="conda" RUN_FLAKE8="true" SKIP_TESTS="true"
41-
42-
36+ python : 3.6
37+ env : DISTRIB="ubuntu"
38+ - os : linux
39+ python : 3.7
40+ env : DISTRIB="ubuntu"
4341 # Temporarily disabling OSX builds because thy take too long
4442 # Set language to generic to not break travis-ci
4543 # https://github.com/travis-ci/travis-ci/issues/2312#issuecomment-195620855
Original file line number Diff line number Diff line change @@ -9,11 +9,13 @@ cat requirements.txt | xargs -n 1 -L 1 pip install
99 pip freeze
1010
1111if [[ " $TEST_DIST " == " true" ]]; then
12+ pip install twine
1213 python setup.py sdist
1314 # Find file which was modified last as done in https://stackoverflow.com/a/4561987
1415 dist=` find dist -type f -printf ' %T@ %p\n' | sort -n | tail -1 | cut -f2- -d" " `
1516 echo " Installing $dist "
1617 pip install " $dist "
18+ twine check " $dist "
1719else
1820 python setup.py check -m -s
1921 python setup.py install
You can’t perform that action at this time.
0 commit comments