This repository has been archived by the owner on Jul 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
101 lines (95 loc) · 3.56 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=mpdaf
- BUILD_COMMIT=2.5.1
- PLAT=x86_64
- UNICODE_WIDTH=32
- NP_BUILD_DEP="numpy==1.10.0"
- NP_TEST_DEP="numpy==1.10.0"
- GEN_DEPS="numexpr matplotlib adjustText"
- CFITSIO_VERSION=3370
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
# Following generated with
# travis encrypt -r your-org/your-project-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: "B+V4+s6FFlwhIpIMkJd/mZUEPvrk/FJpGXcI571he+Zw54EbYNHoEiL9up6FJShY/s9TBQ5nomaHwbe0w23zAkL9SCZ/jTABhkRX09mk/t/P4jSoErThGmg+pdXvDmf1b/O939ecBbEdjlrmn+ZsSJig7PbUi0xKd6lEZlo/UOeuAweoUIClpUa2bvsQtO47q1A09uxuMBvDViFvIBMn3NmbqUd+GzaTfWGMsVMrVaJEoHLhGJdLCM8HCwXH8MEfE5sai51zbgfhvresFezG+E99CiukRbi3vK37LS1qgU1E1C50XDjhpvK2maKclpDAbzX+qQtjK1ueCIsqXccBC+tQseSYwb/dXdcuTbR3wK0sSgUTu7irlWt7cjr4ULfRryZa5XanjlM7Y7Vb7otli1TjwnD7CJ+kAH5EJFfeIkLEqV1cYBghSb9rLxfo6CikTmPP4zjQXC/YCJfroxdrvCP5MSNBODyx1Towfk6dV+GFDRpzYR4d6rS/nHl1j7mgpI5+RFhCCwXwneIUpKwtD2nXP6fGjG1ksbJSuQCukinwIgXcbHLLz9jZiVnxqOjo2QiOEhQdCqZkBrbVuskdBDrlkVARlUA+rQokYrLAuNlCK5NlIWwzfPk/suZU31/ML2LppI4/FrXMQJav9FHGbx2y9I5VZvKpRlaTxa9EfeA="
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.4
- 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: 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.4
- 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
before_install:
- BUILD_DEPENDS="$NP_BUILD_DEP Cython"
- TEST_DEPENDS="$NP_TEST_DEP pytest $GEN_DEPS"
- source multibuild/common_utils.sh
- source multibuild/travis_steps.sh
- before_install
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