Update testing configuration:

(1) Add py35 job to Travis.
(2) To address issue #57: run tests that connect to Mojang's auth server exactly once, during the py35 job.
(3) Measure coverage exactly once, during the py35 job; always submit the result to coveralls.
(4) Fix miscellaneous errors in generate_travis_yml.py.
This commit is contained in:
joo committed 2017-05-19 11:58:14 +01:00
1 parent 19cdf80952
commit 3f4571d9e9
4 files changed
+44 -27

No files matched your search

+4 -4
View File
@@ -1,11 +1,11 @@
language: python
python: 2.7
python: 3.5
env:
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=py35
- TOX_ENV=pypy
- TOX_ENV=cover
- TOX_ENV=flake8
- TOX_ENV=pylint-errors
- TOX_ENV=pylint-full
@@ -15,7 +15,7 @@ install:
- pip install python-coveralls
script:
- tox -e $TOX_ENV
after_success:
- if [ "$TOX_ENV" = "py27" ]; then tox -e coveralls; fi
after_script:
- if [ "$TOX_ENV" = "py35" ]; then tox -e coveralls; fi
notifications:
email: false