Trust (fixes #5)

This commit is contained in:
Roey Darwish Dror
2018-06-04 22:41:08 +03:00
committed by Roey Darwish Dror
parent 239ad6e4f3
commit 55b24f4c6e
6 changed files with 196 additions and 1 deletions

19
ci/script.sh Normal file
View File

@@ -0,0 +1,19 @@
# This script takes care of testing your crate
set -ex
# TODO This is the "test phase", tweak it as you see fit
main() {
cross build --target $TARGET
cross build --target $TARGET --release
if [ ! -z $DISABLE_TESTS ]; then
return
fi
}
# we don't run the "test phase" when doing deploys
if [ -z $TRAVIS_TAG ]; then
main
fi