# Builds that are executed for every PR
- os: osx # run base tests on both platforms
env: BASE_TESTS=true
- if: type = pull_request OR branch IN (auto, try)
- os: linux
env: BASE_TESTS=true
- if: type = pull_request OR branch IN (auto, try)
- os: windows
env: CARGO_INCREMENTAL=0 BASE_TESTS=true
- if: type = pull_request OR branch IN (auto, try)
# Builds that are only executed when a PR is r+ed or a try build is started
# We don't want to run these always because they go towards
script:
- |
rm rust-toolchain
- cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
- RUSTC_HASH=$(git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}')
- travis_retry rustup-toolchain-install-master -f -n master $RUSTC_HASH
- rustup default master
+ ./setup-toolchain.sh
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
- |
if [ -z ${INTEGRATION} ]; then