##// END OF EJS Templates
use binaries for Python on mac...
Min RK -
Show More
@@ -1,10 +1,11 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
4
4 addons:
5 addons:
5 apt:
6 apt:
6 packages:
7 packages:
7 - graphviz
8 - graphviz
8
9
9 python:
10 python:
10 - 3.6
11 - 3.6
@@ -19,18 +20,20 b' env:'
19 group: edge
20 group: edge
20
21
21 before_install:
22 before_install:
22 - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
23 - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
23 - |
24 - |
24 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
25 # install Python on macOS
25 brew update
26 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
26 brew upgrade pyenv
27 env | sort
27 eval "$(pyenv init -)"
28 if ! which python$TRAVIS_PYTHON_VERSION; then
28 pyenv install --skip-existing "$PYENV_VERSION"
29 HOMEBREW_NO_AUTO_UPDATE=1 brew tap minrk/homebrew-python-frameworks
29 pyenv global "$PYENV_VERSION"
30 HOMEBREW_NO_AUTO_UPDATE=1 brew cask install python-framework-${TRAVIS_PYTHON_VERSION/./}
30 pyenv rehash
31 fi
31 fi
32 - python --version
32 python3 -m pip install virtualenv
33
33 python3 -m virtualenv -p $(which python$TRAVIS_PYTHON_VERSION) ~/travis-env
34 source ~/travis-env/bin/activate
35 fi
36 - python --version
34
37
35 install:
38 install:
36 - pip install pip --upgrade
39 - pip install pip --upgrade
@@ -61,15 +64,26 b' after_success:'
61 - codecov
64 - codecov
62
65
63 matrix:
66 matrix:
64 include:
67 include:
65 - { python: "3.6-dev", dist: xenial, sudo: true, os: linux }
68 - python: "3.7"
66 - { python: "3.7", dist: xenial, sudo: true, os: linux }
69 dist: xenial
67 - { python: "3.7-dev", dist: xenial, sudo: true, os: linux }
70 sudo: true
68 - { python: "nightly", dist: xenial, sudo: true, os: linux }
71 - python: "3.7-dev"
69 - { os: osx, language: generic, env: TRAVIS_PYTHON_VERSION="3.6" PYENV_VERSION="3.6.7" }
72 dist: xenial
70 - { os: osx, language: generic, env: TRAVIS_PYTHON_VERSION="3.7" PYENV_VERSION="3.7.1" }
73 sudo: true
71 allow_failures:
74 - python: "nightly"
72 - python: nightly
75 dist: xenial
76 sudo: true
77 - os: osx
78 language: generic
79 python: 3.6
80 env: TRAVIS_PYTHON_VERSION=3.6
81 - os: osx
82 language: generic
83 python: 3.7
84 env: TRAVIS_PYTHON_VERSION=3.7
85 allow_failures:
86 - python: nightly
73
87
74 before_deploy:
88 before_deploy:
75 - rm -rf dist/
89 - rm -rf dist/
@@ -77,15 +91,15 b' before_deploy:'
77 - python setup.py bdist_wheel
91 - python setup.py bdist_wheel
78
92
79 deploy:
93 deploy:
80 provider: releases
94 provider: releases
81 api_key:
95 api_key:
82 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
96 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
83 file: dist/*
97 file: dist/*
84 file_glob: true
98 file_glob: true
85 skip_cleanup: true
99 skip_cleanup: true
86 on:
100 on:
87 repo: ipython/ipython
101 repo: ipython/ipython
88 all_branches: true # Backports are released from e.g. 5.x branch
102 all_branches: true # Backports are released from e.g. 5.x branch
89 tags: true
103 tags: true
90 python: 3.6 # Any version should work, but we only need one
104 python: 3.6 # Any version should work, but we only need one
91 condition: $TRAVIS_OS_NAME = "linux"
105 condition: $TRAVIS_OS_NAME = "linux"
General Comments 0
You need to be logged in to leave comments. Login now