.travis.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. language: java
  2. jdk:
  3. - oraclejdk8
  4. env:
  5. global:
  6. - secure: "Lgj042RD0X3rB8VZVZLWP1GetLhjd3PqI5JbJMlzgHJpDI6RkFIBLN9SWAGmkLPCehIp2zA5tu9+UVy0NNMxm9xz6SyjMCaxS28/fnYEXaNmwwDSF6O6gLUbdxyzoYIFPYOPmFxpzhebqnNIsxaM29oZpgRgUGqosCczQxiB+Ng="
  7. 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"
  8. script: mvn -fmain/pom.xml clean test
  9. after_success: mvn -fmain/pom.xml clean test jacoco:report coveralls:report
  10. notifications:
  11. webhooks:
  12. urls:
  13. - https://webhooks.gitter.im/e/7d429ab35361726e26f2
  14. on_success: change
  15. on_failure: always
  16. on_start: false
  17. slack:
  18. rooms:
  19. secure: "lngJ/HEAFBbD5AdiO9avMqptKpZHdmEwOzS9FabZjkdFh7yAYueTk5RniPUvShjsKtThYm7cJ8AtDMDwc07NvPrzbMBRtUJGwuDT+7c7YFALGFJ1NYi+emkC9x1oafvmPgEYSE+tMKzNcwrHi3ytGgKdIotsKwaF35QNXYA9aMs="
  20. on_success: change
  21. on_failure: always
  22. before_deploy: mvn -fmain/pom.xml -Puber-jar clean package -DskipTests
  23. deploy:
  24. provider: releases
  25. prerelease: true
  26. api_key:
  27. secure: "ZjE1j93v3qbPIe2YbmhS319aCbMdLQw0HuymmluTurxXsZtn9D4t2+eTr99vBVxGRuB5lzzGezPR5zjk5W7iHF7xhwrawXrFzr2rPJWzWFt0aM+Ry2njU1ROTGGXGTbv4anWeBlgMxLEInTAy/9ytOGNJlec83yc0THpOY2wxnk="
  28. file: main/uber-jar/target/Cryptomator-$TRAVIS_TAG.jar
  29. skip_cleanup: true
  30. on:
  31. repo: cryptomator/cryptomator
  32. tags: true