🏡 index : ~doyle/bin.git

author Jordan Johnson-Doyle <jordan@doyle.la> 2019-02-11 11:18:34.0 +00:00:00
committer Jordan Johnson-Doyle <jordan@doyle.la> 2019-02-11 11:18:34.0 +00:00:00
commit
fef8bc2bbc7398d305dd14e98e952913d3558c2e [patch]
tree
695bb854144220ab0eb831bfa7a195486a3aedd3
parent
9e040e0a04deba550a3faeea16ca66d3cbd34e2b
download
fef8bc2bbc7398d305dd14e98e952913d3558c2e.tar.gz

Don't run the crate while testing



Diff

 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
+++ a/ci/before_deploy.sh
@@ -17,11 +17,9 @@

    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
+++ a/ci/script.sh
@@ -13,9 +13,6 @@

    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