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 19:17:33 +0300
committerMatthias Held <ilovemilk@wusa.io>2019-05-17 19:17:33 +0300
commit487cd7a9fe51a5f4a0ae81ccfe4e3bf1de1ed80e (patch)
tree8301001902e54987b72db278836c37440d2c04e3
parent05952732921d4ab6b4bd50d3551871b713188126 (diff)
fix format for stage scripts
-rw-r--r--.travis.yml19
1 files changed, 9 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index 28fb8bf..159ef9d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,18 +30,17 @@ before_install:
jobs:
include:
- stage: test
- script:
- - cd apps/$APP_NAME/
+ script: cd apps/$APP_NAME/
- # Test the app
- - sh -c "if [ '$CODECHECK' = '1' ]; then find . -name \*.php -exec php -l \"{}\" \;; fi"
- - cd ../../
- - sh -c "if [ '$CODECHECK' = '1' ]; then ./occ app:check-code $APP_NAME -c private -c strong-comparison; fi"
- - sh -c "if [ '$CODECHECK' = '2' ]; then ./occ app:check-code $APP_NAME -c deprecation; fi"
- - cd apps/$APP_NAME/
+ # Test the app
+ script: sh -c "if [ '$CODECHECK' = '1' ]; then find . -name \*.php -exec php -l \"{}\" \;; fi"
+ script: cd ../../
+ script: sh -c "if [ '$CODECHECK' = '1' ]; then ./occ app:check-code $APP_NAME -c private -c strong-comparison; fi"
+ script: sh -c "if [ '$CODECHECK' = '2' ]; then ./occ app:check-code $APP_NAME -c deprecation; fi"
+ script: cd apps/$APP_NAME/
- # Run phpunit tests
- - sh -c "if [ '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then phpunit --configuration phpunit.xml; fi"
+ # Run phpunit tests
+ script: sh -c "if [ '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then phpunit --configuration phpunit.xml; fi"
stages:
- test