diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2015-05-05 15:54:57 -0400 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2015-05-07 15:50:46 -0400 |
commit | 6b900791390a315d104446d9b29b096db03a8fcd (patch) | |
tree | de9cb02ccb48be79c478ae1d5ffeac9de06316e2 /.travis.yml | |
parent | dcbf4940daa35994e3d4f73a130af9476274e745 (diff) | |
download | qtlocation-mapboxgl-6b900791390a315d104446d9b29b096db03a8fcd.tar.gz |
break out setup.sh from run.sh
chmod +x
drop travis_helper from android and ios
source travis_helper.sh before_install
only run setup.sh if file exists
explicitly local paths
explicit if statement in before_install
source setup.sh
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 2f50535cc9..dd1fb1448e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -82,14 +82,20 @@ env: - secure: "nQqSM8rd7OHtV4MqmNqVnkrVHqxKqQsaWRYk4/nPdhbeVWtTtkk0df711LrF1TUtbEPEewHxYUvTZ/UXmwJNeoKdzTHavI8hnatRkgjyxGERPn1il1Otelht9I+LQQHf+plrpRjVWBrNIW0Zox1B3cqn6d3NglpbXrEQ2EjYGNA=" - KIF_SCREENSHOTS="${TRAVIS_BUILD_DIR}/screenshots" +before_install: +- source ./scripts/travis_helper.sh + install: - ./scripts/${FLAVOR}/install.sh +before_script: +- if [ -f ./scripts/${FLAVOR}/setup.sh ]; then source ./scripts/${FLAVOR}/setup.sh; fi + script: - ./scripts/${FLAVOR}/run.sh after_failure: -- "[ -f scripts/${FLAVOR}/run.sh ] && scripts/${FLAVOR}/run.sh" +- "[ -f ./scripts/${FLAVOR}/run.sh ] && ./scripts/${FLAVOR}/run.sh" notifications: slack: |