From 5abf91a12ac7d7c7035b0205fbdec2ec6c762097 Mon Sep 17 00:00:00 2001 From: Matthias Held Date: Tue, 1 Dec 2020 20:40:16 +0100 Subject: remove debug steps --- .travis.yml | 93 ++++++++++++++++++++++++++++++------------------------------- 1 file 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 -- cgit v1.2.3