num-traits/ci/rustup.sh

12 lines
333 B
Bash
Raw Permalink Normal View History

#!/bin/sh
# Use rustup to locally run the same suite of tests as .travis.yml.
# (You should first install/update 1.8.0, stable, beta, and nightly.)
set -ex
2017-12-01 01:01:09 +00:00
export TRAVIS_RUST_VERSION
2018-05-07 19:38:56 +00:00
for TRAVIS_RUST_VERSION in 1.8.0 1.15.0 1.20.0 stable beta nightly; do
2017-12-01 01:01:09 +00:00
run="rustup run $TRAVIS_RUST_VERSION"
$run $PWD/ci/test_full.sh
done