11sudo : false
22
3- language : rust
3+ language : generic
44
55env :
66 global :
@@ -10,73 +10,59 @@ matrix:
1010 include :
1111 # Stable channel
1212 - os : osx
13- env : TARGET=i686-apple-darwin
14- rust : stable
13+ env : TARGET=i686-apple-darwin CHANNEL=stable
1514 - os : linux
16- env : TARGET=i686-unknown-linux-gnu
17- rust : stable
15+ env : TARGET=i686-unknown-linux-gnu CHANNEL=stable
1816 addons :
1917 apt :
2018 packages : &i686_unknown_linux_gnu
2119 - gcc-multilib
2220 - os : osx
23- env : TARGET=x86_64-apple-darwin
24- rust : stable
21+ env : TARGET=x86_64-apple-darwin CHANNEL=stable
2522 - os : linux
26- env : TARGET=x86_64-unknown-linux-gnu
27- rust : stable
23+ env : TARGET=x86_64-unknown-linux-gnu CHANNEL=stable
2824 addons :
2925 apt :
3026 packages :
3127 - nodejs
3228 - npm
3329 - os : linux
34- env : TARGET=x86_64-unknown-linux-musl
35- rust : stable
30+ env : TARGET=x86_64-unknown-linux-musl CHANNEL=stable
3631 # Beta channel
3732 - os : osx
38- env : TARGET=i686-apple-darwin
39- rust : beta
33+ env : TARGET=i686-apple-darwin CHANNEL=beta
4034 - os : linux
41- env : TARGET=i686-unknown-linux-gnu
42- rust : beta
35+ env : TARGET=i686-unknown-linux-gnu CHANNEL=beta
4336 addons :
4437 apt :
4538 packages : *i686_unknown_linux_gnu
4639 - os : osx
47- env : TARGET=x86_64-apple-darwin
48- rust : beta
40+ env : TARGET=x86_64-apple-darwin CHANNEL=beta
4941 - os : linux
50- env : TARGET=x86_64-unknown-linux-gnu
51- rust : beta
42+ env : TARGET=x86_64-unknown-linux-gnu CHANNEL=beta
5243 - os : linux
53- env : TARGET=x86_64-unknown-linux-musl
54- rust : beta
44+ env : TARGET=x86_64-unknown-linux-musl CHANNEL=beta
5545 # Nightly channel
5646 - os : osx
57- env : TARGET=i686-apple-darwin
58- rust : nightly
47+ env : TARGET=i686-apple-darwin CHANNEL=nightly
5948 - os : linux
60- env : TARGET=i686-unknown-linux-gnu
61- rust : nightly
49+ env : TARGET=i686-unknown-linux-gnu CHANNEL=nightly
6250 addons :
6351 apt :
6452 packages : *i686_unknown_linux_gnu
6553 - os : osx
66- env : TARGET=x86_64-apple-darwin
67- rust : nightly
54+ env : TARGET=x86_64-apple-darwin CHANNEL=nightly
6855 - os : linux
69- env : TARGET=x86_64-unknown-linux-gnu
70- rust : nightly
56+ env : TARGET=x86_64-unknown-linux-gnu CHANNEL=nightly
7157 - os : linux
72- env : TARGET=x86_64-unknown-linux-musl
73- rust : nightly
58+ env : TARGET=x86_64-unknown-linux-musl CHANNEL=nightly
7459
7560install :
76- - sh ci/install.sh
61+ - export PATH="$PATH:$HOME/.cargo/bin"
62+ - bash ci/install.sh
7763
7864script :
79- - sh ci/script.sh
65+ - bash ci/script.sh
8066
8167after_success :
8268 - test $TRAVIS_PULL_REQUEST == "false" &&
@@ -87,7 +73,7 @@ after_success:
8773 bash deploy.sh
8874
8975before_deploy :
90- - sh ci/before_deploy.sh
76+ - bash ci/before_deploy.sh
9177
9278deploy :
9379 provider : releases
@@ -98,7 +84,7 @@ deploy:
9884 skip_cleanup : true
9985 # deploy when a new tag is pushed
10086 on :
101- condition : $TRAVIS_RUST_VERSION = stable
87+ condition : $CHANNEL = stable
10288 tags : true
10389
10490notifications :
0 commit comments