2015-12-21 20:26:32 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Use multirust to locally run the same suite of tests as .travis.yml.
|
|
|
|
# (You should first install/update 1.0.0, beta, and nightly.)
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
for toolchain in 1.0.0 beta nightly; do
|
|
|
|
run="multirust run $toolchain"
|
|
|
|
$run cargo build --verbose
|
2016-03-26 00:15:15 +00:00
|
|
|
$run make test
|
2015-12-21 20:26:32 +00:00
|
|
|
$run .travis/test_features.sh
|
|
|
|
if [ $toolchain = nightly ]; then
|
|
|
|
$run .travis/test_nightly.sh
|
|
|
|
fi
|
|
|
|
$run cargo doc
|
|
|
|
done
|