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