diff options
author | Chih-Hung Hsieh <chh@google.com> | 2019-10-29 11:26:03 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-10-29 11:26:03 -0700 |
commit | 6c8e4604cbfc9e92118d0a4d84306d8015115842 (patch) | |
tree | 236cad670aa0ee2d57c2bf389554957d9e7e0a21 /ci/script.sh | |
parent | 90de750b2f1fca0e6f4e57b463c800cb507ff082 (diff) | |
parent | 92724b9d899be3bbdd7c2d2777ab979b3474899d (diff) | |
download | byteorder-6c8e4604cbfc9e92118d0a4d84306d8015115842.tar.gz |
Use released byteorder-1.3.2 at crates.io am: abcf84f8da am: 58650ab31f am: 935262b4f3
am: 92724b9d89
Change-Id: Ic65b6b7a27a22b4d702f72db7f2240a7d69daec5
Diffstat (limited to 'ci/script.sh')
-rwxr-xr-x | ci/script.sh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/ci/script.sh b/ci/script.sh deleted file mode 100755 index 596e2d5..0000000 --- a/ci/script.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh - -set -ex - -# Setup some variables for executing cargo commands. -# Things are a little different if we're testing with cross. -if [ ! -z "$CROSS_TARGET" ]; then - rustup target add "$CROSS_TARGET" - cargo install cross --force - export CARGO_CMD="cross" - export TARGET_PARAM="--target $CROSS_TARGET" -else - export CARGO_CMD="cargo" - export TARGET_PARAM="" -fi - -# Test the build and docs. -"$CARGO_CMD" build --verbose $TARGET_PARAM -"$CARGO_CMD" doc --verbose $TARGET_PARAM - -# If we're testing on an older version of Rust, then only check that we -# can build the crate. This is because the dev dependencies might be updated -# more frequently, and therefore might require a newer version of Rust. -# -# This isn't ideal. It's a compromise. -if [ "$TRAVIS_RUST_VERSION" = "1.12.0" ]; then - exit -fi - -"$CARGO_CMD" test --verbose $TARGET_PARAM -"$CARGO_CMD" test --verbose --no-default-features --lib $TARGET_PARAM -if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then - "$CARGO_CMD" test \ - --verbose --features i128 $TARGET_PARAM - "$CARGO_CMD" test \ - --verbose --no-default-features --features i128 --lib $TARGET_PARAM - "$CARGO_CMD" bench \ - --verbose --no-run $TARGET_PARAM - "$CARGO_CMD" bench \ - --verbose --no-run --no-default-features $TARGET_PARAM - "$CARGO_CMD" bench \ - --verbose --no-run --features i128 $TARGET_PARAM - "$CARGO_CMD" bench \ - --verbose --no-run --no-default-features --features i128 $TARGET_PARAM -fi |