aboutsummaryrefslogtreecommitdiff
path: root/ci/script.sh
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2019-10-29 11:26:03 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-10-29 11:26:03 -0700
commit6c8e4604cbfc9e92118d0a4d84306d8015115842 (patch)
tree236cad670aa0ee2d57c2bf389554957d9e7e0a21 /ci/script.sh
parent90de750b2f1fca0e6f4e57b463c800cb507ff082 (diff)
parent92724b9d899be3bbdd7c2d2777ab979b3474899d (diff)
downloadbyteorder-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-xci/script.sh45
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