Adjusted CI testing scripts

This commit is contained in:
Vincent Esche 2018-04-19 09:26:02 +02:00
parent 257917f3f2
commit 157efc5a26
2 changed files with 4 additions and 3 deletions

View File

@ -7,6 +7,5 @@ set -ex
export TRAVIS_RUST_VERSION export TRAVIS_RUST_VERSION
for TRAVIS_RUST_VERSION in 1.8.0 stable beta nightly; do for TRAVIS_RUST_VERSION in 1.8.0 stable beta nightly; do
run="rustup run $TRAVIS_RUST_VERSION" run="rustup run $TRAVIS_RUST_VERSION"
$run cargo build --verbose
$run $PWD/ci/test_full.sh $run $PWD/ci/test_full.sh
done done

View File

@ -13,5 +13,7 @@ cargo build --verbose --no-default-features
cargo test --verbose --no-default-features cargo test --verbose --no-default-features
# test `i128` # test `i128`
if [[ "$TRAVIS_RUST_VERSION" =~ ^(nightly|beta)$ ]]; then
cargo build --verbose --features=i128 cargo build --verbose --features=i128
cargo test --verbose --features=i128 cargo test --verbose --features=i128
fi