diff options
author | Matthias <ilovemilk@wusa.io> | 2019-05-17 22:38:36 +0300 |
---|---|---|
committer | Matthias <ilovemilk@wusa.io> | 2019-05-17 22:38:36 +0300 |
commit | 25fb306582489c5254521fef482827fd56e33657 (patch) | |
tree | b447d20f6a5932012f88fe2c39010f13a3521cae | |
parent | 03355e8dfa55feabb6db2aa06ebfdae4c5286fe0 (diff) |
add report stage
-rw-r--r-- | .travis.yml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index f2e9b5d..f479b51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -84,6 +84,14 @@ jobs: - CHECKSTYLE=2 script: - ./occ app:check-code $APP_NAME -c deprecation + - stage: report + php: 7.1 + env: + - DB=sqlite + script: + - cd tests + - wget https://codecov.io/bash -O codecov.sh + - bash codecov.sh - stage: build php: 7.1 env: @@ -94,13 +102,7 @@ jobs: stages: - test + - report - build - name: deploy if: tag =~ ^[0-9]+\.[0-9]+(\.[0-9]+)?(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$ - -after_success: - # Create coverage report - - cd tests - - sh -c "if [ '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then wget https://codecov.io/bash -O codecov.sh; fi" - - sh -c "if [ '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then bash codecov.sh; fi" - - cd .. |