summaryrefslogtreecommitdiffstats
path: root/third_party/rust/num-rational/ci/rustup.sh
blob: 59704a069a6a0d4b2e78e39958cc4cb9b1350128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# Use rustup to locally run the same suite of tests as .travis.yml.
# (You should first install/update all versions listed below.)

set -ex

export TRAVIS_RUST_VERSION
for TRAVIS_RUST_VERSION in 1.15.0 1.26.0 stable beta nightly; do
    run="rustup run $TRAVIS_RUST_VERSION"
    $run cargo build --verbose
    $run $PWD/ci/test_full.sh
done