@@ -10,7 +10,7 @@ matrix:
10
10
include :
11
11
- env : TARGET=x86_64-unknown-linux-gnu
12
12
ALT=i686-unknown-linux-gnu
13
- if : branch != master OR type = pull_request
13
+
14
14
- env : TARGET=x86_64-apple-darwin
15
15
ALT=i686-apple-darwin
16
16
os : osx
@@ -30,21 +30,21 @@ matrix:
30
30
ALT=i686-unknown-linux-gnu
31
31
rust : 1.31.0
32
32
script :
33
- - rustup toolchain install nightly
34
- - cargo +nightly generate-lockfile -Z minimal-versions
35
- - cargo -V
36
- - cargo test --features=deny-warnings
33
+ - rustup toolchain install nightly-2019-01-09 || travis_terminate 1
34
+ - cargo +nightly-2019-01-09 generate-lockfile -Z minimal-versions || travis_terminate 1
35
+ - cargo -V || travis_terminate 1
36
+ - cargo test --features=deny-warnings || travis_terminate 1
37
37
if : branch != master OR type = pull_request
38
38
39
39
- env : TARGET=x86_64-unknown-linux-gnu
40
40
ALT=i686-unknown-linux-gnu
41
- rust : nightly
41
+ rust : nightly-2019-01-09
42
42
install :
43
43
- travis_retry curl -Lf https://github.com/rust-lang-nursery/mdBook/releases/download/v0.1.7/mdbook-v0.1.7-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=$HOME/.cargo/bin
44
44
script :
45
- - cargo test --features=deny-warnings
46
- - cargo doc --no-deps
47
- - (cd src/doc && mdbook build --dest-dir ../../target/doc)
45
+ - cargo test --features=deny-warnings || travis_terminate 1
46
+ - cargo doc --no-deps || travis_terminate 1
47
+ - (cd src/doc && mdbook build --dest-dir ../../target/doc) || travis_terminate 1
48
48
if : branch != master OR type = pull_request
49
49
50
50
exclude :
0 commit comments