-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
93 lines (87 loc) · 3.27 KB
/
.travis.yml
File metadata and controls
93 lines (87 loc) · 3.27 KB
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
env:
global:
- REPO_DIR=python-gnureadline
# Commit from your-project that you want to build
- BUILD_COMMIT="v8.0.0"
# pip dependencies to _build_ your project
# - BUILD_DEPENDS="Cython numpy"
# pip dependencies to _test_ your project. Include any dependencies
# that you need, that are also specified in BUILD_DEPENDS, this will be
# a separate install.
# - TEST_DEPENDS="numpy scipy pytest"
- PLAT=x86_64
- UNICODE_WIDTH=32
- 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:
"gDqaQOSYt0Czcw02BMA31ghDhSmvrUEq7hY7RDKwBz7WaBavyz1GsOedQlmAMiJcoup/iqS8mKXYg0ckEm0L2B9BlFdmZECfdV79LTjTePgg/8aDOFar5bydic4RvDCdUlVOe13hGWe69/sxcDaQEvganDCV8OjOpXOpK4SKqydz8rDAQc85w/W92qQWTOFg7zn1YYRtZCmpNhELinRqRy6GUEOYvXlPZUS7o28ASfRRAWHd1qNqIBIpFNZFA0BDPDnsE1m6SsKLD7PgjnFPjPY5WUhMQTfXA235MpXS96A93z2B4QtRPdg6BKik6q9reCiWtnPfTk16sEQo8YDPtMiORJzjixCUo3wpsv+M3fTGIfLzlOhWLbRsK/HLjKHE8z2By1TkqW++F3zva+UehCUTnQMzZA17NrerNWu87XaFHrRJITqDeekx5lINBt+33jUXPWlgGBlMGtKAwgKbD+JjI+TmMXPZSvBywfM8nesQGgeey/tzFXkGuMTSNmgiPSqumkEMUq08ydllkiH62OPkEgOe4Q4+Q2hFSQNhkeXdlEY2l2PBNPzJJtAkN4tUeRUS5FKPTrpNWfsbxKTGm/1FiysZhosoPMHBFI4IneZJlf3b7b2MXVOIyhhAVlH2hsqzXVLbCs4UonTeyqvhWg6hol3xltxP70h+4lR0bjc="
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.7
sudo: required
dist: xenial
services: docker
matrix:
exclude:
# Exclude the default Python 3.7 build
- python: 3.7
include:
- os: linux
env: MB_PYTHON_VERSION=2.7
- os: linux
env:
- MB_PYTHON_VERSION=2.7
- PLAT=i686
- os: linux
env:
- MB_PYTHON_VERSION=3.5
- os: linux
env:
- MB_PYTHON_VERSION=3.6
- os: linux
env:
- MB_PYTHON_VERSION=3.7
- os: linux
env:
- MB_PYTHON_VERSION=3.8-dev
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=2.7
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.5
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.6
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.7
before_install:
- 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