12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- language: java
- jdk:
- - oraclejdk8
- env:
- global:
- - secure: "Lgj042RD0X3rB8VZVZLWP1GetLhjd3PqI5JbJMlzgHJpDI6RkFIBLN9SWAGmkLPCehIp2zA5tu9+UVy0NNMxm9xz6SyjMCaxS28/fnYEXaNmwwDSF6O6gLUbdxyzoYIFPYOPmFxpzhebqnNIsxaM29oZpgRgUGqosCczQxiB+Ng=" #coveralls
- - secure: "IfYURwZaDWuBDvyn47n0k1Zod/IQw1FF+CS5nnV08Q+NfC3vGGJMwV8m59XnbfwnWGxwvCaAbk4qP6s6+ijgZNKkvgfFMo3rfTok5zt43bIqgaFOANYV+OC/1c59gYD6ZUxhW5iNgMgU3qdsRtJuwSmfkVv/jKyLGfAbS4kN8BA=" #coverity
- before_install: "curl -L --cookie 'oraclelicense=accept-securebackup-cookie;' http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip -o /tmp/policy.zip && sudo unzip -j -o /tmp/policy.zip *.jar -d `jdk_switcher home oraclejdk8`/jre/lib/security && rm /tmp/policy.zip"
- script: mvn -fmain/pom.xml clean test
- after_success: mvn -fmain/pom.xml clean test jacoco:report coveralls:report
- notifications:
- webhooks:
- urls:
- - https://webhooks.gitter.im/e/7d429ab35361726e26f2
- on_success: change
- on_failure: always
- on_start: false
- slack:
- rooms:
- secure: "lngJ/HEAFBbD5AdiO9avMqptKpZHdmEwOzS9FabZjkdFh7yAYueTk5RniPUvShjsKtThYm7cJ8AtDMDwc07NvPrzbMBRtUJGwuDT+7c7YFALGFJ1NYi+emkC9x1oafvmPgEYSE+tMKzNcwrHi3ytGgKdIotsKwaF35QNXYA9aMs="
- on_success: change
- on_failure: always
- before_deploy: mvn -fmain/pom.xml -Puber-jar clean package -DskipTests
- addons:
- coverity_scan:
- project:
- name: "cryptomator/cryptomator"
- notification_email: sebastian.stenzel@cryptomator.org
- build_command: "mvn -fmain/pom.xml clean test -DskipTests"
- branch_pattern: coverity_scan
- deploy:
- provider: releases
- prerelease: false
- api_key:
- secure: "ZjE1j93v3qbPIe2YbmhS319aCbMdLQw0HuymmluTurxXsZtn9D4t2+eTr99vBVxGRuB5lzzGezPR5zjk5W7iHF7xhwrawXrFzr2rPJWzWFt0aM+Ry2njU1ROTGGXGTbv4anWeBlgMxLEInTAy/9ytOGNJlec83yc0THpOY2wxnk="
- file: main/uber-jar/target/Cryptomator-$TRAVIS_TAG.jar
- skip_cleanup: true
- on:
- repo: cryptomator/cryptomator
- tags: true
|