We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ade7662 + 95853b3 commit f3d1508Copy full SHA for f3d1508
.travis-workarounds.sh
@@ -0,0 +1,12 @@
1
+#!/bin/bash
2
+set -e
3
+set -x
4
+
5
+if [[ "${TOXENV}" == "pypy" ]]; then
6
+ sudo add-apt-repository -y ppa:pypy/ppa
7
+ sudo apt-get -qy update
8
+ sudo apt-get install -y pypy pypy-dev
9
+ # This is required because we need to get rid of the Travis installed PyPy
10
+ # or it'll take precedence over the PPA installed one.
11
+ sudo rm -rf /usr/local/pypy/bin
12
+fi
.travis.yml
@@ -9,7 +9,8 @@ matrix:
allow_failures:
- env: TOXENV=pypy
install:
- - pip install -M tox
+- ./.travis-workarounds.sh
13
+- pip install tox
14
script: tox
15
notifications:
16
irc:
0 commit comments