##// END OF EJS Templates
add osx on 3.6 and 3.7 to travis, use addons.apt:packages for graphviz
Nicholas Bollweg -
Show More
@@ -1,65 +1,82 b''
1 # http://travis-ci.org/#!/ipython/ipython
1 # http://travis-ci.org/#!/ipython/ipython
2 language: python
2 language: python
3
4 os:
5 - linux
6 - osx
7
8 addons:
9 apt:packages:
10 - graphviz
11
3 python:
12 python:
4 - 3.6
13 - 3.6
5 - 3.5
14 - 3.5
15
6 sudo: false
16 sudo: false
17
7 env:
18 env:
8 global:
19 global:
9 - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH
20 - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH
21
10 group: edge
22 group: edge
23
11 before_install:
24 before_install:
12 - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
25 - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
26 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
27 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install graphviz; fi
28
13 install:
29 install:
14 - pip install pip --upgrade
30 - pip install pip --upgrade
15 - pip install setuptools --upgrade
31 - pip install setuptools --upgrade
16 - pip install -e file://$PWD#egg=ipython[test] --upgrade
32 - pip install -e file://$PWD#egg=ipython[test] --upgrade
17 - pip install trio curio
33 - pip install trio curio
18 - pip install codecov check-manifest --upgrade
34 - pip install codecov check-manifest --upgrade
19 - sudo apt-get install graphviz
35
20 script:
36 script:
21 - check-manifest
37 - check-manifest
22 - |
38 - |
23 if [[ "$TRAVIS_PYTHON_VERSION" == "nightly" ]]; then
39 if [[ "$TRAVIS_PYTHON_VERSION" == "nightly" ]]; then
24 # on nightly fake parso known the grammar
40 # on nightly fake parso known the grammar
25 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
41 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
26 fi
42 fi
27 - cd /tmp && iptest --coverage xml && cd -
43 - cd /tmp && iptest --coverage xml && cd -
28 # On the latest Python only, make sure that the docs build.
44 # On the latest Python only, make sure that the docs build.
29 - |
45 - |
30 if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]]; then
46 if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]]; then
31 pip install -r docs/requirements.txt
47 pip install -r docs/requirements.txt
32 python tools/fixup_whats_new_pr.py
48 python tools/fixup_whats_new_pr.py
33 make -C docs/ html SPHINXOPTS="-W"
49 make -C docs/ html SPHINXOPTS="-W"
34 fi
50 fi
35 after_success:
51 after_success:
36 - cp /tmp/ipy_coverage.xml ./
52 - cp /tmp/ipy_coverage.xml ./
37 - cp /tmp/.coverage ./
53 - cp /tmp/.coverage ./
38 - codecov
54 - codecov
39
55
40 matrix:
56 matrix:
41 include:
57 include:
42 - { python: "3.6-dev", dist: xenial, sudo: true }
58 - { python: "3.6-dev", dist: xenial, sudo: true, os: linux }
43 - { python: "3.7", dist: xenial, sudo: true }
59 - { python: "3.7", dist: xenial, sudo: true, os: linux }
44 - { python: "3.7-dev", dist: xenial, sudo: true }
60 - { python: "3.7-dev", dist: xenial, sudo: true, os: linux }
45 - { python: "nightly", dist: xenial, sudo: true }
61 - { python: "nightly", dist: xenial, sudo: true, os: linux }
46 allow_failures:
62 allow_failures:
47 - python: nightly
63 - python: nightly
48
64
49 before_deploy:
65 before_deploy:
50 - rm -rf dist/
66 - rm -rf dist/
51 - python setup.py sdist
67 - python setup.py sdist
52 - python setup.py bdist_wheel
68 - python setup.py bdist_wheel
53
69
54 deploy:
70 deploy:
55 provider: releases
71 provider: releases
56 api_key:
72 api_key:
57 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
73 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
58 file: dist/*
74 file: dist/*
59 file_glob: true
75 file_glob: true
60 skip_cleanup: true
76 skip_cleanup: true
61 on:
77 on:
62 repo: ipython/ipython
78 repo: ipython/ipython
63 all_branches: true # Backports are released from e.g. 5.x branch
79 all_branches: true # Backports are released from e.g. 5.x branch
64 tags: true
80 tags: true
65 python: 3.6 # Any version should work, but we only need one
81 python: 3.6 # Any version should work, but we only need one
82 condition: $TRAVIS_OS_NAME = "linux"
General Comments 0
You need to be logged in to leave comments. Login now