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:20:27 +0300
committerMatthias Held <ilovemilk@wusa.io>2019-05-17 20:20:27 +0300
commita3f8341539294cedc528a0dc96092751c4e0d608 (patch)
tree92e4349f7a056e6261d0a6bb41cde575e4ff9a7d
parent4f513aba369d686816e988e50b6a895e2e76e2fd (diff)
clean up script with array
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index c7310ed..1e4ce0b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,13 +28,13 @@ jobs:
env:
- DB=sqlite
- CORE_BRANCH=stable13
- script: "cd apps/$APP_NAME/"
- # Test the app
- script: sh -c "if [ '$CODECHECK' = '1' ]; then find . -name \*.php -exec php -l \"{}\" \;; fi"
+ script:
+ - cd apps/$APP_NAME/
+ - 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/
+ 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