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