File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ 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 || travis_terminate 1
34
+ - cargo +nightly 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
@@ -42,9 +42,9 @@ matrix:
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 :
You can’t perform that action at this time.
0 commit comments