Skip to content
Permalink
Browse files

Run the travis build as one large command

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 24, 2014
1 parent a5342d5 commit b6c22bc93ced470cdeddddfc6618f1f09cf89678
Showing with 7 additions and 4 deletions.
  1. +7 −4 .travis.yml
@@ -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

1 comment on commit b6c22bc

@huonw

This comment has been minimized.

Copy link

huonw commented on b6c22bc Feb 24, 2014

r+

Please sign in to comment.
You can’t perform that action at this time.