Skip to content

Commit

Permalink
Run the travis build as one large command
Browse files Browse the repository at this point in the history
It appears that travis doesn't stop running script commands after the first one
fails (see travis-ci/travis-ci#1066), so chain all our
commands together with && for now.
  • Loading branch information
alexcrichton committed Feb 25, 2014
1 parent 4690ab0 commit a7b1d65
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Expand Up @@ -39,10 +39,13 @@ before_script:
# manually disables bringing in these two libraries, but the stock LLVM was
# apparently built with these options. We provide these options when building so
# the `rustc` binary can successfully link.
script:
- make tidy
- RUSTFLAGS="-C link-args='-lffi -lncurses'" make -j4 rustc-stage1
- make check-stage1-std check-stage1-rpass check-stage1-cfail check-stage1-rfail
#
# As a result of https://github.com/travis-ci/travis-ci/issues/1066, we run
# everything in one large command instead of multiple commands.
script: |
make tidy &&
RUSTFLAGS="-C link-args='-lffi -lncurses'" make -j4 rustc-stage1 &&
make check-stage1-std check-stage1-rpass check-stage1-cfail check-stage1-rfail
env:
- NO_BENCH=1
Expand Down

0 comments on commit a7b1d65

Please sign in to comment.