Show More
@@ -1,45 +1,46 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 |
- pip install |
|
|
16 | - pip install pip --upgrade | |
|
17 | - pip install "setuptools>=18.5" | |
|
17 | 18 | # Installs PyPy (+ its Numpy). Based on @frol comment at: |
|
18 | 19 | # https://github.com/travis-ci/travis-ci/issues/5027 |
|
19 | 20 | - | |
|
20 | 21 | if [ "$TRAVIS_PYTHON_VERSION" = "pypy" ]; then |
|
21 | 22 | export PYENV_ROOT="$HOME/.pyenv" |
|
22 | 23 | if [ -f "$PYENV_ROOT/bin/pyenv" ]; then |
|
23 | 24 | cd "$PYENV_ROOT" && git pull |
|
24 | 25 | else |
|
25 | 26 | rm -rf "$PYENV_ROOT" && git clone --depth 1 https://github.com/yyuu/pyenv.git "$PYENV_ROOT" |
|
26 | 27 | fi |
|
27 | 28 | export PYPY_VERSION="5.3.1" |
|
28 | 29 | "$PYENV_ROOT/bin/pyenv" install "pypy-$PYPY_VERSION" |
|
29 | 30 | virtualenv --python="$PYENV_ROOT/versions/pypy-$PYPY_VERSION/bin/python" "$HOME/virtualenvs/pypy-$PYPY_VERSION" |
|
30 | 31 | source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate" |
|
31 | 32 | pip install https://bitbucket.org/pypy/numpy/get/master.zip |
|
32 | 33 | fi |
|
33 | 34 | - pip install -f travis-wheels/wheelhouse -e file://$PWD#egg=ipython[test] |
|
34 | 35 | - pip install codecov mock |
|
35 | 36 | script: |
|
36 | 37 | - cd /tmp && iptest --coverage xml && cd - |
|
37 | 38 | after_success: |
|
38 | 39 | - cp /tmp/ipy_coverage.xml ./ |
|
39 | 40 | - cp /tmp/.coverage ./ |
|
40 | 41 | - codecov |
|
41 | 42 | |
|
42 | 43 | matrix: |
|
43 | 44 | allow_failures: |
|
44 | 45 | - python: nightly |
|
45 | 46 | - python: pypy |
General Comments 0
You need to be logged in to leave comments.
Login now