Don't run the crate while testing

This commit is contained in:
Jordan Johnson-Doyle
2019-02-11 11:18:34 +00:00
parent 9e040e0a04
commit fef8bc2bbc
2 changed files with 2 additions and 7 deletions

View File

@@ -17,11 +17,9 @@ main() {
test -f Cargo.lock || cargo generate-lockfile
# TODO Update this to build the artifacts that matter to you
cross rustc --bin hello --target $TARGET --release -- -C lto
cross rustc --bin bin --target $TARGET --release -- -C lto
# TODO Update this to package the right artifacts
cp target/$TARGET/release/hello $stage/
cp target/$TARGET/release/bin $stage/
cd $stage
tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz *

View File

@@ -13,9 +13,6 @@ main() {
cross test --target $TARGET
cross test --target $TARGET --release
cross run --target $TARGET
cross run --target $TARGET --release
}
# we don't run the "test phase" when doing deploys