Skip to content

Commit

Permalink
Update test url
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDing committed Nov 3, 2019
1 parent a942355 commit f586525
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/script.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ cargo build --target "$TARGET" --verbose

cargo test --target "$TARGET" --verbose

RUST_BACKTRACE=1 cargo run --target "$TARGET" -- http://cdimage.ubuntu.com/ubuntu-base/releases/18.10/release/ubuntu-base-18.10-base-amd64.tar.gz
RUST_BACKTRACE=1 cargo run --target "$TARGET" -- http://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/ubuntu-base-18.04-base-amd64.tar.gz

if [ "$TRAVIS_OS_NAME" = "linux" ]
then
if [ "$(cat ubuntu-base-18.10-base-amd64.tar.gz | md5sum | cut -f1 -d' ')" != "a1a02c6fd451aa80f3ed28913a91bdcf" ]; then exit 1; fi
if [ "$(cat ubuntu-base-18.04-base-amd64.tar.gz | md5sum | cut -f1 -d' ')" != "2ed358ddea75aaa2aae924f2a4bc0aa0" ]; then exit 1; fi
elif [ "$TRAVIS_OS_NAME" = "osx" ]
then
if [ "$(cat ubuntu-base-18.10-base-amd64.tar.gz | md5 | cut -f1 -d' ')" != "a1a02c6fd451aa80f3ed28913a91bdcf" ]; then exit 1; fi
if [ "$(cat ubuntu-base-18.04-base-amd64.tar.gz | md5 | cut -f1 -d' ')" != "2ed358ddea75aaa2aae924f2a4bc0aa0" ]; then exit 1; fi
fi

rm ubuntu-base-18.10-base-amd64.tar.gz
rm ubuntu-base-18.04-base-amd64.tar.gz

0 comments on commit f586525

Please sign in to comment.