Skip to content

Commit

Permalink
Merge pull request #472 from jdufresne/py36
Browse files Browse the repository at this point in the history
Add Python 3.6 to Travis CI testing and trove classifiers
  • Loading branch information
thedrow committed Jul 30, 2017
2 parents 9a72842 + ea0e1c1 commit bbc9b04
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 27 deletions.
43 changes: 17 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,23 @@
language: python
python:
- 3.5
sudo: false
cache:
pip: true
install:
- |
if [ "$TOXENV" = "pypy" ]; then
export PYENV_ROOT="$HOME/.pyenv"
if [ -f "$PYENV_ROOT/bin/pyenv" ]; then
cd "$PYENV_ROOT" && git pull
else
rm -rf "$PYENV_ROOT" && git clone --depth 1 https://github.com/yyuu/pyenv.git "$PYENV_ROOT"
fi
export PYPY_VERSION="5.3"
"$PYENV_ROOT/bin/pyenv" install "pypy-$PYPY_VERSION"
virtualenv --python="$PYENV_ROOT/versions/pypy-$PYPY_VERSION/bin/python" "$HOME/virtualenvs/pypy-$PYPY_VERSION"
source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate"
fi
- pip install 'tox>=1.9' coveralls
cache: pip

matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: pypy-5.3
env: TOXENV=pypy

install: pip install tox coveralls
script: tox

script:
- tox
env:
- TOXENV=py27
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
after_success: coveralls
notifications:
irc: irc.freenode.org#oauthlib
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@ def fread(fn):
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
Expand Down

0 comments on commit bbc9b04

Please sign in to comment.