Run the travis build as one large command

It appears that travis doesn't stop running script commands after the first one
fails (see https://github.com/travis-ci/travis-ci/issues/1066), so chain all our
commands together with && for now.
This commit is contained in:
Alex Crichton 2014-02-23 23:23:08 -08:00
parent 4690ab0ea8
commit a7b1d65080
1 changed files with 7 additions and 4 deletions

View File

@ -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