Show More
@@ -1,46 +1,52 b'' | |||
|
1 | 1 | # http://travis-ci.org/#!/ipython/ipython |
|
2 | 2 | language: python |
|
3 | 3 | python: |
|
4 | 4 | - "nightly" |
|
5 | 5 | - 3.6 |
|
6 | 6 | - 3.5 |
|
7 | 7 | - 3.4 |
|
8 | 8 | - 3.3 |
|
9 | 9 | - 2.7 |
|
10 | 10 | - pypy |
|
11 | 11 | sudo: false |
|
12 | 12 | before_install: |
|
13 | 13 | - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels |
|
14 | 14 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' |
|
15 | 15 | install: |
|
16 | - | | |
|
17 | if [[ "$TRAVIS_PYTHON_VERSION" == "3.3" ]]; then | |
|
18 | pip install 'pip<18' --upgrade | |
|
19 | else | |
|
20 | pip install pip --upgrade | |
|
21 | fi | |
|
16 | 22 | - pip install pip --upgrade |
|
17 | 23 | - pip install "setuptools>=18.5" |
|
18 | 24 | # Installs PyPy (+ its Numpy). Based on @frol comment at: |
|
19 | 25 | # https://github.com/travis-ci/travis-ci/issues/5027 |
|
20 | 26 | - | |
|
21 | 27 | if [ "$TRAVIS_PYTHON_VERSION" = "pypy" ]; then |
|
22 | 28 | export PYENV_ROOT="$HOME/.pyenv" |
|
23 | 29 | if [ -f "$PYENV_ROOT/bin/pyenv" ]; then |
|
24 | 30 | cd "$PYENV_ROOT" && git pull |
|
25 | 31 | else |
|
26 | 32 | rm -rf "$PYENV_ROOT" && git clone --depth 1 https://github.com/yyuu/pyenv.git "$PYENV_ROOT" |
|
27 | 33 | fi |
|
28 | 34 | export PYPY_VERSION="5.3.1" |
|
29 | 35 | "$PYENV_ROOT/bin/pyenv" install "pypy-$PYPY_VERSION" |
|
30 | 36 | virtualenv --python="$PYENV_ROOT/versions/pypy-$PYPY_VERSION/bin/python" "$HOME/virtualenvs/pypy-$PYPY_VERSION" |
|
31 | 37 | source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate" |
|
32 | 38 | pip install https://bitbucket.org/pypy/numpy/get/master.zip |
|
33 | 39 | fi |
|
34 | 40 | - pip install -f travis-wheels/wheelhouse -e file://$PWD#egg=ipython[test] |
|
35 | 41 | - pip install codecov mock |
|
36 | 42 | script: |
|
37 | 43 | - cd /tmp && iptest --coverage xml && cd - |
|
38 | 44 | after_success: |
|
39 | 45 | - cp /tmp/ipy_coverage.xml ./ |
|
40 | 46 | - cp /tmp/.coverage ./ |
|
41 | 47 | - codecov |
|
42 | 48 | |
|
43 | 49 | matrix: |
|
44 | 50 | allow_failures: |
|
45 | 51 | - python: nightly |
|
46 | 52 | - python: pypy |
General Comments 0
You need to be logged in to leave comments.
Login now