Skip to content

Commit

Permalink
Fix Travis scripts to exit early
Browse files Browse the repository at this point in the history
  • Loading branch information
Seulgi Kim committed Feb 26, 2019
1 parent 81cdda0 commit d6b043a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
before_script:
- cargo fetch --verbose
script:
- test $RUN_UNIT_TEST && (cargo +nightly-2018-12-06 fmt -- --check || exit 1)
- test $RUN_UNIT_TEST && (cargo +nightly-2018-12-06 clippy --all --all-targets -- -D warnings || exit 1)
- test $RUN_UNIT_TEST && (RUST_BACKTRACE=1 cargo test --verbose --all || exit 1)
- (test $RUN_UNIT_TEST && cargo +nightly-2018-12-06 fmt -- --check) || exit 1
- (test $RUN_UNIT_TEST && cargo +nightly-2018-12-06 clippy --all --all-targets -- -D warnings) || exit 1
- (test $RUN_UNIT_TEST && RUST_BACKTRACE=1 cargo test --verbose --all) || exit 1
- cd test && yarn && yarn lint || exit 1
- cargo build || exit 1
- INT_TEST_FLAG=true && yarn start-short
Expand All @@ -49,9 +49,9 @@ jobs:
before_script:
- cargo fetch --verbose
script:
- test $RUN_UNIT_TEST && (cargo +nightly-2018-12-06 fmt -- --check || exit 1)
- test $RUN_UNIT_TEST && (cargo +nightly-2018-12-06 clippy --all --all-targets -- -D warnings || exit 1)
- test $RUN_UNIT_TEST && (RUST_BACKTRACE=1 cargo test --verbose --all || exit 1)
- (test $RUN_UNIT_TEST && cargo +nightly-2018-12-06 fmt -- --check) || exit 1
- (test $RUN_UNIT_TEST && cargo +nightly-2018-12-06 clippy --all --all-targets -- -D warnings) || exit 1
- (test $RUN_UNIT_TEST && RUST_BACKTRACE=1 cargo test --verbose --all) || exit 1
- cd test && yarn && yarn lint || exit 1
- cargo build || exit 1
- INT_TEST_FLAG=true && yarn start-short
Expand Down

0 comments on commit d6b043a

Please sign in to comment.