diff options
| -rw-r--r-- | .travis.yml | 6 | ||||
| -rwxr-xr-x[-rw-r--r--] | scripts/travis.sh | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 2316d05..178d452 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,14 +10,14 @@ compiler: osx_image: xcode10.2 before_install: - export STAGE=before_install - - ./travis.sh + - ./scripts/travis.sh script: - export STAGE=script - - ./travis.sh + - ./scripts/travis.sh after_success: - export STAGE=after_success - - ./travis.sh + - ./scripts/travis.sh - wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh - chmod +x send.sh - ./send.sh success $WEBHOOK_URL diff --git a/scripts/travis.sh b/scripts/travis.sh index 457848f..d9844bf 100644..100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -1,3 +1,5 @@ +#!/bin/bash + if [ $STAGE = "script" ]; then if [ $TRAVIS_OS_NAME = "linux" ]; then echo "[TRAVIS] Running qmake" |
