Move .multirust.sh to .rustup.sh
(rustup is pickier about paths to non-rust commands though...)
This commit is contained in:
parent
7fcd5f7304
commit
15949b257a
|
@ -1,16 +1,16 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Use multirust to locally run the same suite of tests as .travis.yml.
|
# Use rustup to locally run the same suite of tests as .travis.yml.
|
||||||
# (You should first install/update 1.0.0, beta, and nightly.)
|
# (You should first install/update 1.0.0, beta, and nightly.)
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
for toolchain in 1.0.0 beta nightly; do
|
for toolchain in 1.0.0 beta nightly; do
|
||||||
run="multirust run $toolchain"
|
run="rustup run $toolchain"
|
||||||
$run cargo build --verbose
|
$run cargo build --verbose
|
||||||
$run make test
|
$run /usr/bin/env make test
|
||||||
$run .travis/test_features.sh
|
$run $PWD/.travis/test_features.sh
|
||||||
if [ $toolchain = nightly ]; then
|
if [ $toolchain = nightly ]; then
|
||||||
$run .travis/test_nightly.sh
|
$run $PWD/.travis/test_nightly.sh
|
||||||
fi
|
fi
|
||||||
$run cargo doc
|
$run cargo doc
|
||||||
done
|
done
|
Loading…
Reference in New Issue