Skip to content

Commit

Permalink
Use travis' pypy environment (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
di authored and theacodes committed Sep 13, 2018
1 parent ab39305 commit c96ecd1
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,10 @@ matrix:
env: TOXENV=py36
- python: 3.6
env: TOXENV=docs
- python: 3.6
- python: pypy
env: TOXENV=pypy

install:
# Add the PyPy repository
- "if [[ $TOXENV == 'pypy' ]]; then sudo add-apt-repository -y ppa:pypy/ppa; fi"
- "if [[ $TOXENV == 'pypy' ]]; then sudo sudo apt-get -y update; fi"
# Upgrade PyPy
- "if [[ $TOXENV == 'pypy' ]]; then sudo apt-get -y install pypy; fi"
# This is required because we need to get rid of the Travis installed PyPy
# or it'll take precedence over the PPA installed one.
- "if [[ $TOXENV == 'pypy' ]]; then sudo rm -rf /usr/local/pypy/bin; fi"
- pip install tox codecov

script:
Expand Down

0 comments on commit c96ecd1

Please sign in to comment.