Kill 2.6/2.7

This commit is contained in:
Ryan McGrath 2020-04-02 23:08:52 -07:00
parent ea2979c75f
commit b8d927df8e
No known key found for this signature in database
GPG key ID: 811674B62B666830
2 changed files with 1 additions and 7 deletions

View file

@ -1,7 +1,5 @@
language: python
python:
- 2.6
- 2.7
- 3.5
- 3.6
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
@ -26,7 +24,6 @@ env:
- ACCESS_TOKEN_B64=U2FsdGVkX18QdBhvMNshM4PGy04tU3HLwKP+nNSoNZHKsvGLjELcWEXN2LIu/T+yngX1vGONf9lo14ElnfS4k7sfhiru8phR4+rZuBVP3bDvC2A6fXJuhuLqNhBrWqg32WQewvxLWDWBoKmnvRHg5b74GHh+IN/12tU0cBF2HK8=
install:
- pip install -r requirements.txt
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
script: nosetests -v -w tests/ --logging-filter="twython" --with-cov --cov twython --cov-config .coveragerc --cov-report term-missing
notifications:
email: false

View file

@ -2,9 +2,6 @@
import os
import sys
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
import unittest2 as unittest
else:
import unittest
app_key = os.environ.get('APP_KEY')