##// END OF EJS Templates
Update trio and curio dependencies eagerly....
Matthias Bussonnier -
Show More
@@ -1,109 +1,109 b''
1 # http://travis-ci.org/#!/ipython/ipython
1 # http://travis-ci.org/#!/ipython/ipython
2 language: python
2 language: python
3 os: linux
3 os: linux
4
4
5 addons:
5 addons:
6 apt:
6 apt:
7 packages:
7 packages:
8 - graphviz
8 - graphviz
9
9
10 python:
10 python:
11 - 3.6
11 - 3.6
12 - 3.5
12 - 3.5
13
13
14 sudo: false
14 sudo: false
15
15
16 env:
16 env:
17 global:
17 global:
18 - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH
18 - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH
19
19
20 group: edge
20 group: edge
21
21
22 before_install:
22 before_install:
23 - |
23 - |
24 # install Python on macOS
24 # install Python on macOS
25 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
25 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
26 env | sort
26 env | sort
27 if ! which python$TRAVIS_PYTHON_VERSION; then
27 if ! which python$TRAVIS_PYTHON_VERSION; then
28 HOMEBREW_NO_AUTO_UPDATE=1 brew tap minrk/homebrew-python-frameworks
28 HOMEBREW_NO_AUTO_UPDATE=1 brew tap minrk/homebrew-python-frameworks
29 HOMEBREW_NO_AUTO_UPDATE=1 brew cask install python-framework-${TRAVIS_PYTHON_VERSION/./}
29 HOMEBREW_NO_AUTO_UPDATE=1 brew cask install python-framework-${TRAVIS_PYTHON_VERSION/./}
30 fi
30 fi
31 python3 -m pip install virtualenv
31 python3 -m pip install virtualenv
32 python3 -m virtualenv -p $(which python$TRAVIS_PYTHON_VERSION) ~/travis-env
32 python3 -m virtualenv -p $(which python$TRAVIS_PYTHON_VERSION) ~/travis-env
33 source ~/travis-env/bin/activate
33 source ~/travis-env/bin/activate
34 fi
34 fi
35 - python --version
35 - python --version
36
36
37 install:
37 install:
38 - pip install pip --upgrade
38 - pip install pip --upgrade
39 - pip install setuptools --upgrade
39 - pip install setuptools --upgrade
40 - pip install -e file://$PWD#egg=ipython[test] --upgrade
40 - pip install -e file://$PWD#egg=ipython[test] --upgrade
41 - pip install trio curio
41 - pip install trio curio --upgrade --upgrade-strategy eager
42 - pip install 'pytest<4' matplotlib
42 - pip install 'pytest<4' matplotlib
43 - pip install codecov check-manifest --upgrade
43 - pip install codecov check-manifest --upgrade
44
44
45 script:
45 script:
46 - check-manifest
46 - check-manifest
47 - |
47 - |
48 if [[ "$TRAVIS_PYTHON_VERSION" == "nightly" ]]; then
48 if [[ "$TRAVIS_PYTHON_VERSION" == "nightly" ]]; then
49 # on nightly fake parso known the grammar
49 # on nightly fake parso known the grammar
50 cp /home/travis/virtualenv/python3.8-dev/lib/python3.8/site-packages/parso/python/grammar37.txt /home/travis/virtualenv/python3.8-dev/lib/python3.8/site-packages/parso/python/grammar38.txt
50 cp /home/travis/virtualenv/python3.8-dev/lib/python3.8/site-packages/parso/python/grammar37.txt /home/travis/virtualenv/python3.8-dev/lib/python3.8/site-packages/parso/python/grammar38.txt
51 fi
51 fi
52 - cd /tmp && iptest --coverage xml && cd -
52 - cd /tmp && iptest --coverage xml && cd -
53 - pytest IPython
53 - pytest IPython
54 # On the latest Python (on Linux) only, make sure that the docs build.
54 # On the latest Python (on Linux) only, make sure that the docs build.
55 - |
55 - |
56 if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
56 if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
57 pip install -r docs/requirements.txt
57 pip install -r docs/requirements.txt
58 python tools/fixup_whats_new_pr.py
58 python tools/fixup_whats_new_pr.py
59 make -C docs/ html SPHINXOPTS="-W"
59 make -C docs/ html SPHINXOPTS="-W"
60 fi
60 fi
61
61
62 after_success:
62 after_success:
63 - cp /tmp/ipy_coverage.xml ./
63 - cp /tmp/ipy_coverage.xml ./
64 - cp /tmp/.coverage ./
64 - cp /tmp/.coverage ./
65 - codecov
65 - codecov
66
66
67 matrix:
67 matrix:
68 include:
68 include:
69 - python: "3.7"
69 - python: "3.7"
70 dist: xenial
70 dist: xenial
71 sudo: true
71 sudo: true
72 - python: "3.8-dev"
72 - python: "3.8-dev"
73 dist: xenial
73 dist: xenial
74 sudo: true
74 sudo: true
75 - python: "3.7-dev"
75 - python: "3.7-dev"
76 dist: xenial
76 dist: xenial
77 sudo: true
77 sudo: true
78 - python: "nightly"
78 - python: "nightly"
79 dist: xenial
79 dist: xenial
80 sudo: true
80 sudo: true
81 - os: osx
81 - os: osx
82 language: generic
82 language: generic
83 python: 3.6
83 python: 3.6
84 env: TRAVIS_PYTHON_VERSION=3.6
84 env: TRAVIS_PYTHON_VERSION=3.6
85 - os: osx
85 - os: osx
86 language: generic
86 language: generic
87 python: 3.7
87 python: 3.7
88 env: TRAVIS_PYTHON_VERSION=3.7
88 env: TRAVIS_PYTHON_VERSION=3.7
89 allow_failures:
89 allow_failures:
90 - python: nightly
90 - python: nightly
91
91
92 before_deploy:
92 before_deploy:
93 - rm -rf dist/
93 - rm -rf dist/
94 - python setup.py sdist
94 - python setup.py sdist
95 - python setup.py bdist_wheel
95 - python setup.py bdist_wheel
96
96
97 deploy:
97 deploy:
98 provider: releases
98 provider: releases
99 api_key:
99 api_key:
100 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
100 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
101 file: dist/*
101 file: dist/*
102 file_glob: true
102 file_glob: true
103 skip_cleanup: true
103 skip_cleanup: true
104 on:
104 on:
105 repo: ipython/ipython
105 repo: ipython/ipython
106 all_branches: true # Backports are released from e.g. 5.x branch
106 all_branches: true # Backports are released from e.g. 5.x branch
107 tags: true
107 tags: true
108 python: 3.6 # Any version should work, but we only need one
108 python: 3.6 # Any version should work, but we only need one
109 condition: $TRAVIS_OS_NAME = "linux"
109 condition: $TRAVIS_OS_NAME = "linux"
General Comments 0
You need to be logged in to leave comments. Login now