diff options
author | Matthias <ilovemilk@wusa.io> | 2020-10-05 22:38:20 +0300 |
---|---|---|
committer | Matthias <ilovemilk@wusa.io> | 2020-10-05 22:38:20 +0300 |
commit | 4f838c6268eed88760a0b2d02b105c9f6b1fcbb1 (patch) | |
tree | ff9287735d87881630d8d30bd58eb7b9e3fc523f | |
parent | 5554e90e9b98d044bce1a8f4e56f04b805ed31fe (diff) |
test logins
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 2a9d57c..833edad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -79,6 +79,9 @@ jobs: env: - DB=sqlite script: + - mkdir -p $HOME/.nextcloud/certificates + - curl --output $HOME/.nextcloud/certificates/ransomware_detection.crt -L https://raw.githubusercontent.com/nextcloud/app-certificate-requests/master/ransomware_detection/ransomware_detection.crt + - echo $PRIVATE_KEY > $HOME/.nextcloud/certificates/ransomware_detection.key - wget https://github.com/ChristophWurst/krankerl/releases/download/v${KRANKERL_VERSION}/krankerl_${KRANKERL_VERSION}_amd64.deb - sudo dpkg -i krankerl_${KRANKERL_VERSION}_amd64.deb - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0 @@ -87,6 +90,11 @@ jobs: - sudo apt install gh - cd apps/$APP_NAME/ - krankerl package + - php /var/www/html/occ integrity:sign-app --privateKey="$HOME/.nextcloud/certificates/ransomware_detection.key" --certificate="$HOME/.nextcloud/certificates/ransomware_detection.crt" --path="$(pwd)/build/artifacts/ransomware_detection" + - 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 stages: - test |