diff options
author | Matthias Held <ilovemilk@wusa.io> | 2019-05-17 20:23:05 +0300 |
---|---|---|
committer | Matthias Held <ilovemilk@wusa.io> | 2019-05-17 20:23:05 +0300 |
commit | 2e22aa683c61195a4478a50f07bc326c631bbdef (patch) | |
tree | b33048cbd33befa89ddaf5a510f72c41c1df7d63 | |
parent | a3f8341539294cedc528a0dc96092751c4e0d608 (diff) |
more clean up
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index 1e4ce0b..c30779a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,14 +31,14 @@ jobs: 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/" - # Run phpunit tests - script: sh -c "if [ '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then phpunit --configuration phpunit.xml; 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/ + - sh -c "if [ '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then phpunit --configuration phpunit.xml; fi" - stage: build - script: echo "Build" + script: + - echo "Build" stages: - test |