2017-02-10 00:09:48 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Use rustup to locally run the same suite of tests as .travis.yml.
|
2017-12-19 01:35:41 +00:00
|
|
|
# (You should first install/update 1.8.0, stable, beta, and nightly.)
|
2017-02-10 00:09:48 +00:00
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2017-12-01 01:01:09 +00:00
|
|
|
export TRAVIS_RUST_VERSION
|
2017-12-19 01:35:41 +00:00
|
|
|
for TRAVIS_RUST_VERSION in 1.8.0 stable beta nightly; do
|
2017-12-01 01:01:09 +00:00
|
|
|
run="rustup run $TRAVIS_RUST_VERSION"
|
2017-02-10 00:09:48 +00:00
|
|
|
$run cargo build --verbose
|
2017-12-01 01:01:09 +00:00
|
|
|
$run $PWD/ci/test_full.sh
|
2017-02-10 00:09:48 +00:00
|
|
|
done
|