summaryrefslogtreecommitdiff
path: root/getrandom/utils/ci/script.sh
blob: b3e80d4fb89870f9b7bd79c1975a9928da91ed65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Derived from https://github.com/japaric/trust

set -ex

main() {
    cross test --target $TARGET
    cross test --target $TARGET --examples
}

# we don't run the "test phase" when doing deploys
if [ -z $TRAVIS_TAG ]; then
    main
fi