Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Held <ilovemilk@wusa.io>2019-05-17 20:05:43 +0300
committerMatthias Held <ilovemilk@wusa.io>2019-05-17 20:05:43 +0300
commit1cb8baeb6d2c07ff8e5b0905adf21780bd4c1319 (patch)
treef403a1a66e1226f0d90a8570b78bf46f55d923d1
parent68d7281b97d2ce30f051345e49b077a345c322cb (diff)
add stages order
-rw-r--r--.travis.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 7b5c34d..a828d70 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,7 +23,7 @@ before_install:
jobs:
include:
- stage: test
- script: "cd apps/$APP_NAME/"
+ script: cd apps/$APP_NAME/
# Test the app
script: sh -c "if [ '$CODECHECK' = '1' ]; then find . -name \*.php -exec php -l \"{}\" \;; fi"
script: cd ../../
@@ -32,6 +32,14 @@ jobs:
script: cd apps/$APP_NAME/
# Run phpunit tests
script: sh -c "if [ '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then phpunit --configuration phpunit.xml; fi"
+ - stage: build
+ script: echo "Build"
+
+stages:
+ - test
+ - build
+ - name: deploy
+ if: tag =~ ^[0-9]+\.[0-9]+(\.[0-9]+)?(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$
after_success:
# Create coverage report