Trust (fixes #5)
This commit is contained in:
committed by
Roey Darwish Dror
parent
239ad6e4f3
commit
55b24f4c6e
19
ci/script.sh
Normal file
19
ci/script.sh
Normal 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
|
||||
Reference in New Issue
Block a user