11
11
global :
12
12
# TODO Update this to match the name of your project.
13
13
- CRATE_NAME=trust_pypi_example
14
+ # Rust release. E.g. Stable, nightly, nightly-2014-12-18
15
+ - RUSTRELEASE=stable
14
16
15
17
matrix :
16
18
include :
@@ -20,24 +22,24 @@ matrix:
20
22
21
23
22
24
# Linux
23
- # we are using Rustup instead of cross when WHEELPLATFORM="*manylinux*". This is because both
25
+ # we are using Rustup instead of cross when WHEELPLATFORM="*manylinux*". This is because both
24
26
# manylinux and Cross depend on Docker but the shared libs in the Cross contains are too new
25
- # to make valid manylinux containers.
27
+ # to make valid manylinux containers.
26
28
#
27
- # You can lean more about the differnt Rustup toolchains here:
29
+ # You can lean more about the differnt Rustup toolchains here:
28
30
# https://github.com/rust-lang-nursery/rustup.rs#toolchain-specification
29
- #
31
+ #
30
32
# More on manylinuyx at https://github.com/pypa/manylinux
31
33
# and the pep https://www.python.org/dev/peps/pep-0513
32
- #
33
- # one other thing about manylinux. Since the container contains several versions of python,
34
- # we build/test against all of them at the same time. I have it set up to run against
34
+ #
35
+ # one other thing about manylinux. Since the container contains several versions of python,
36
+ # we build/test against all of them at the same time. I have it set up to run against
35
37
# cp27-cp27m, cp27-cp27mu, cp33-cp33m, cp34-cp34m, cp35-cp35m, cp36-cp36m
36
- # PYENV versions isn't relevent here so just keep it at 3.6.1
38
+ # PYENV versions isn't relevent here so just keep it at 3.6.1
37
39
- env : TARGET=i686-unknown-linux-gnu PYENV=3.6.1 WHEELPLATFORM=manylinux1_i686
38
- - env : TARGET=stable- x86_64-unknown-linux-gnu PYENV=3.6.1 WHEELPLATFORM=manylinux1_x86_64
40
+ - env : TARGET=x86_64-unknown-linux-gnu PYENV=3.6.1 WHEELPLATFORM=manylinux1_x86_64
39
41
40
- # Note that musl isn't covered by manylinux and I had trouble building
42
+ # Note that musl isn't covered by manylinux and I had trouble building
41
43
# dylibs with it as well
42
44
# - env: TARGET=i686-unknown-linux-musl PYENV=2.7.13 WHEELPLATFORM=
43
45
# - env: TARGET=i686-unknown-linux-musl PYENV=3.6.1 WHEELPLATFORM=
@@ -46,8 +48,8 @@ matrix:
46
48
47
49
# OSX
48
50
# See versions https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
49
- # current default is osx_image: xcode7.3 OS X 10.11
50
- #
51
+ # current default is osx_image: xcode7.3 OS X 10.11
52
+ #
51
53
- env : TARGET=x86_64-apple-darwin PYENV=2.7.13 WHEELPLATFORM=macosx_10_11_x86_64
52
54
os : osx
53
55
osx_image : xcode7.3
@@ -92,7 +94,7 @@ install:
92
94
- source ~/.cargo/env || true
93
95
94
96
script :
95
- - bash ci/script.sh
97
+ - bash ci/script.sh
96
98
97
99
after_script : set +e
98
100
@@ -105,7 +107,7 @@ deploy:
105
107
- provider : pypi
106
108
distributions : bdist_wheel
107
109
user : mckaymatt
108
- password :
110
+ password :
109
111
secure : gw5UUxAkCTOWQCcRqavrsjPNxGHDqZr1tej0Y6GzKq6DMDxcvAH36lHdP596eRUfIs20ZZcaUz9+y1DBL8cFleghLBMKHnjH9AMx5p5SMRxItkuERRE5zCsAASEf7W5z5bzR9PWoUsLXbQdR9eTaWn2JYHU00MC5RmPfH8+NAItP2xCjTX/JFqg/pXPHc0uKz5ijwDaFASF/+1zDaqHrU4SdS47o/17jQsmMOwYUMn4htfHWYFnB6dktrTlPeiCFV1qA4HntnVnm6Bls2J7THPkyZmHE1GnGTLhKhqlL/IUAHdRzQuPvcEpWwsgmwjgWbz8ccBdDVOh4n4KBRGxM+NlY0H3VZICRCI/r8aT/3M7FX5tQp5s1Cl8IDD7SHRcu6EsJKjubmntX/7/GFrMvEiIx342bA8ohFklAeZftlnaf9JSdZqvAj0NKi7K96B7BfajGEhFkd02GlC0/2uQGlZI4MajDcYd2cHB/qUvIKbRVXzkV1nFiwHD3g6PGCvFYYK+F+PCacPiz17ANuETaQgGJ6WpRV+zwTAlmmAWaAcUBdBkYkUamaQNtjIXvZCqqe0P0AX38bYJG+qXsLRL+TceZ3P0Pn8iaBkgn7VmRLq1jMio5zf6eIHQU6BENXsI1+3an2O1nLgB1TfatukMyIoORezWfQliTrkLnaP1Pmz8=
110
112
on :
111
113
tags : true
@@ -137,7 +139,7 @@ before_cache:
137
139
- chmod -R a+r $HOME/.cargo
138
140
- chmod -R a+r $HOME/.rustup
139
141
- chmod -R a+r $HOME/.manylinux_pip_cache
140
- - chmod -R a+r $HOME/.manylinux_rustup_cache
142
+ - chmod -R a+r $HOME/.manylinux_rustup_cache
141
143
- chmod -R a+r $HOME/.manylinux_cargo_cache
142
144
143
145
@@ -149,7 +151,7 @@ cache:
149
151
- $HOME/.cargo
150
152
- $HOME/.rustup
151
153
- $HOME/.manylinux_pip_cache
152
- - $HOME/.manylinux_rustup_cache
154
+ - $HOME/.manylinux_rustup_cache
153
155
- $HOME/.manylinux_cargo_cache
154
156
155
157
@@ -164,4 +166,4 @@ notifications:
164
166
recipients :
165
167
166
168
on_success : never
167
- on_failure : always # default: always
169
+ on_failure : never # default: always
0 commit comments