Skip to content

Commit 7fc25db

Browse files
committed
Clean up .travis.yml
1 parent da9b1e0 commit 7fc25db

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

.travis.yml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ matrix:
88
include:
99
- python: 2.7
1010
env: TOXENV=py27
11-
- python: 2.7
11+
- python: pypy
1212
env: TOXENV=pypy
13-
- python: 2.7
14-
env: TOXENV=pypy3
1513
- python: 3.4
1614
env: TOXENV=py34
1715
- python: 3.5
@@ -20,28 +18,11 @@ matrix:
2018
env: TOXENV=py36
2119
- python: 3.7
2220
env: TOXENV=py37
23-
dist: xenial
24-
sudo: true
21+
- python: pypy3
22+
env: TOXENV=pypy3
2523
- python: 3.7
2624
env: TOXENV=docs
27-
dist: xenial
28-
sudo: true
2925
install:
30-
- |
31-
if [ "$TOXENV" = "pypy" ]; then
32-
export PYPY_VERSION="pypy-6.0.0-linux_x86_64-portable"
33-
wget "https://bitbucket.org/squeaky/portable-pypy/downloads/${PYPY_VERSION}.tar.bz2"
34-
tar -jxf ${PYPY_VERSION}.tar.bz2
35-
virtualenv --python="$PYPY_VERSION/bin/pypy" "$HOME/virtualenvs/$PYPY_VERSION"
36-
source "$HOME/virtualenvs/$PYPY_VERSION/bin/activate"
37-
fi
38-
if [ "$TOXENV" = "pypy3" ]; then
39-
export PYPY_VERSION="pypy3.5-6.0.0-linux_x86_64-portable"
40-
wget "https://bitbucket.org/squeaky/portable-pypy/downloads/${PYPY_VERSION}.tar.bz2"
41-
tar -jxf ${PYPY_VERSION}.tar.bz2
42-
virtualenv --python="$PYPY_VERSION/bin/pypy3" "$HOME/virtualenvs/$PYPY_VERSION"
43-
source "$HOME/virtualenvs/$PYPY_VERSION/bin/activate"
44-
fi
4526
- pip install -U pip tox twine wheel codecov
4627
script: tox
4728
after_success:

0 commit comments

Comments
 (0)