From fef8bc2bbc7398d305dd14e98e952913d3558c2e Mon Sep 17 00:00:00 2001 From: Jordan Johnson-Doyle Date: Mon, 11 Feb 2019 11:18:34 +0000 Subject: [PATCH] Don't run the crate while testing --- ci/before_deploy.sh | 6 ++---- ci/script.sh | 3 --- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index 026dc28..571259a 100755 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -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 * diff --git a/ci/script.sh b/ci/script.sh index ddd7f93..293504d 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -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 -- libgit2 1.7.2