-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
101 lines (95 loc) · 3.66 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
env:
global:
- REPO_DIR=yt_astro_analysis
# Commit from your-project that you want to build
- BUILD_COMMIT=9a0d94ff7b47eb06e4ffc71230db397efcd3c446
# Non-numpy or testing dependencies
- GEN_DEPENDS="setuptools sympy matplotlib h5py yt"
- PLAT=x86_64
- UNICODE_WIDTH=32
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
# Following generated with
# travis encrypt -r yt-project/yt_astro_analysis-wheels WHEELHOUSE_UPLOADER_SECRET=<the-api-key>
# This is for Rackspace uploads. Contact Matthew Brett, or the
# scikit-learn team, for permission (and the API key) to upload to the
# Rackspace account used here, or use your own account.
- secure: "vSsw4osAeuTunz3U8oekgz3SN8bixVlsBCqGMxhCtMXXPcxI1oY0V+DP3RObX28Fg4fsyXHm7dPlKogT9oY9HFGAeDX/HtAwmQZlcG13np0l5nwesHN5ihjThYgbApiueiNE816sG/2CDdr21/5rHRtLfup/XH17Fhl5OEziHGZUKOjlxX0nNsbwAgN/HqwhAZoW4nB+3oSvagjQnGEqkCYIWEM26LSdvS0IGqP/ho8sIXf4beoYZb36iZ+Z5YugUwcAAMt2TxMDDX1+EA6BLHZ7sbyu5uhMnvCehHLnKXcb7qiqlBOyfan6hFYzbhcJHYZVHtuCZLvN7iL6FMrQptZxZ0/vxlUKlsalyjiI30meZNhcTl9qh691HDm3P68RNEDtzTuog8+jiS/pEryNwBF7+0t6xpRjEZCJ/trP6+6RF6J53sCOrMxSPHxiL6Mx4zxquHRPD/eo8CrfiNQW+8K2SLvvS5oz4/kLEue+lqWxuF4/YUCR/zutLJrujwUjDlGVHtMXXSOqTxFJq4p0QDLCaCl4Z3gh58Scy4YoKUR7lL595v9d640LArZlaXrqX54jyw1+hpwVAIfNvOx3VpluCS0CHt4rSu7Qq5BtjZS3e5WuTirvjVyMyvOWjJD7bj2TmzaawoYMODSPLYIC6BXNsG++Icj8XpDjaSBF7Z4="
language: python
# The travis Python version is unrelated to the version we build and test
# with. This is set with the MB_PYTHON_VERSION variable.
python: 3.5
sudo: required
dist: trusty
services: docker
matrix:
exclude:
# Exclude the default Python 3.5 build
- python: 3.5
include:
- os: linux
env:
- MB_PYTHON_VERSION=2.7
- NP_BUILD_DEP=numpy==1.10.4
- NP_TEST_DEP=numpy==1.10.4
- os: linux
env:
- MB_PYTHON_VERSION=3.5
- NP_BUILD_DEP=numpy==1.10.4
- NP_TEST_DEP=numpy==1.10.4
- os: linux
env:
- MB_PYTHON_VERSION=3.6
- NP_BUILD_DEP=numpy==1.11.3
- NP_TEST_DEP=numpy==1.11.3
- os: linux
env:
- MB_PYTHON_VERSION=3.7
- NP_BUILD_DEP=numpy==1.14.5
- NP_TEST_DEP=numpy==1.14.5
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=2.7
- NP_BUILD_DEP=numpy==1.10.4
- NP_TEST_DEP=numpy==1.10.4
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.5
- NP_BUILD_DEP=numpy==1.10.4
- NP_TEST_DEP=numpy==1.10.4
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.6
- NP_BUILD_DEP=numpy==1.11.3
- NP_TEST_DEP=numpy==1.11.3
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.7
- NP_BUILD_DEP=numpy==1.14.5
- NP_TEST_DEP=numpy==1.14.5
before_install:
- BUILD_DEPENDS="$NP_BUILD_DEP Cython"
- TEST_DEPENDS="$NP_TEST_DEP nose $GEN_DEPENDS wheel==0.31.1"
- source multibuild/common_utils.sh
- source multibuild/travis_steps.sh
- before_install
- pip install 'wheel==0.31.1'
install:
# Maybe get and clean and patch source
- clean_code $REPO_DIR $BUILD_COMMIT
- build_wheel $REPO_DIR $PLAT
script:
- install_run $PLAT
after_success:
# Upload wheels to Rackspace container
- pip install wheelhouse-uploader
# This uploads the wheels to a Rackspace container owned by the
# scikit-learn team, available at http://wheels.scipy.org. See above
# for information on using this account or choosing another.
- python -m wheelhouse_uploader upload --local-folder
${TRAVIS_BUILD_DIR}/wheelhouse/
--no-update-index
wheels