diff options
author | Matthias Held <ilovemilk@wusa.io> | 2020-12-01 22:40:16 +0300 |
---|---|---|
committer | Matthias Held <ilovemilk@wusa.io> | 2020-12-01 22:40:16 +0300 |
commit | 5abf91a12ac7d7c7035b0205fbdec2ec6c762097 (patch) | |
tree | ce4ce84a0abe30c72fb22ae39f165d66798c9638 | |
parent | 09483a92387a8071da7bec2de9ca6d1963530005 (diff) |
remove debug steps
-rw-r--r-- | .travis.yml | 93 |
1 files changed, 46 insertions, 47 deletions
diff --git a/.travis.yml b/.travis.yml index 8decd49..94d7634 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,49 +25,49 @@ jobs: allow_failures: - env: "CHECKSTYLE=2" include: -# - stage: test -# php: 7.2 -# env: -# - DB=mysql -# script: -# - cd apps/$APP_NAME/ -# - phpunit --configuration phpunit.xml -# - stage: test -# php: 7.2 -# env: -# - DB=pgsql -# script: -# - cd apps/$APP_NAME/ -# - phpunit --configuration phpunit.xml -# - stage: test -# php: 7.2 -# env: -# - DB=mysql -# script: -# - cd apps/$APP_NAME/ -# - phpunit --configuration phpunit.xml -# - stage: test -# php: 7.2 -# env: -# - DB=mysql -# - CHECKSTYLE=1 -# script: -# - ./occ app:check-code $APP_NAME -c private -c strong-comparison -# - stage: test -# php: 7.2 -# env: -# - DB=mysql -# - CHECKSTYLE=2 -# script: -# - ./occ app:check-code $APP_NAME -c deprecation -# - stage: report -# php: 7.2 -# env: -# - DB=sqlite -# script: -# - cd tests -# - wget https://codecov.io/bash -O codecov.sh -# - bash codecov.sh + - stage: test + php: 7.2 + env: + - DB=mysql + script: + - cd apps/$APP_NAME/ + - phpunit --configuration phpunit.xml + - stage: test + php: 7.2 + env: + - DB=pgsql + script: + - cd apps/$APP_NAME/ + - phpunit --configuration phpunit.xml + - stage: test + php: 7.2 + env: + - DB=mysql + script: + - cd apps/$APP_NAME/ + - phpunit --configuration phpunit.xml + - stage: test + php: 7.2 + env: + - DB=mysql + - CHECKSTYLE=1 + script: + - ./occ app:check-code $APP_NAME -c private -c strong-comparison + - stage: test + php: 7.2 + env: + - DB=mysql + - CHECKSTYLE=2 + script: + - ./occ app:check-code $APP_NAME -c deprecation + - stage: report + php: 7.2 + env: + - DB=sqlite + script: + - cd tests + - wget https://codecov.io/bash -O codecov.sh + - bash codecov.sh - stage: release php: 7.2 env: @@ -82,17 +82,16 @@ jobs: - sudo apt-add-repository https://cli.github.com/packages - sudo apt update - sudo apt install gh - - ls -la - ./occ integrity:sign-app --privateKey="$HOME/.nextcloud/certificates/ransomware_detection.key" --certificate="$HOME/.nextcloud/certificates/ransomware_detection.crt" --path="$(pwd)/apps/$APP_NAME" - cd apps/$APP_NAME/ - krankerl package - gh auth login --with-token <<< $GITHUB_TOKEN - gh release create $TRAVIS_TAG build/artifacts/ransomware_detection.tar.gz -t $TRAVIS_TAG - krankerl login --appstore $NEXTCLOUD_APPS_TOKEN - #- krankerl publish https://github.com/undo-ransomware/ransomware_detection/releases/download/$TRAVIS_TAG/ransomware_detection.tar.gz + - krankerl publish https://github.com/undo-ransomware/ransomware_detection/releases/download/$TRAVIS_TAG/ransomware_detection.tar.gz stages: -# - test -# - report + - test + - report - name: release if: tag IS present |