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