.travis.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. language: java
  2. jdk:
  3. - oraclejdk8
  4. env:
  5. global:
  6. - secure: "Lgj042RD0X3rB8VZVZLWP1GetLhjd3PqI5JbJMlzgHJpDI6RkFIBLN9SWAGmkLPCehIp2zA5tu9+UVy0NNMxm9xz6SyjMCaxS28/fnYEXaNmwwDSF6O6gLUbdxyzoYIFPYOPmFxpzhebqnNIsxaM29oZpgRgUGqosCczQxiB+Ng=" #coveralls
  7. - secure: "IfYURwZaDWuBDvyn47n0k1Zod/IQw1FF+CS5nnV08Q+NfC3vGGJMwV8m59XnbfwnWGxwvCaAbk4qP6s6+ijgZNKkvgfFMo3rfTok5zt43bIqgaFOANYV+OC/1c59gYD6ZUxhW5iNgMgU3qdsRtJuwSmfkVv/jKyLGfAbS4kN8BA=" #coverity
  8. 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"
  9. script: mvn -fmain/pom.xml clean test
  10. after_success: mvn -fmain/pom.xml clean test jacoco:report coveralls:report
  11. notifications:
  12. webhooks:
  13. urls:
  14. - https://webhooks.gitter.im/e/7d429ab35361726e26f2
  15. on_success: change
  16. on_failure: always
  17. on_start: false
  18. slack:
  19. rooms:
  20. secure: "lngJ/HEAFBbD5AdiO9avMqptKpZHdmEwOzS9FabZjkdFh7yAYueTk5RniPUvShjsKtThYm7cJ8AtDMDwc07NvPrzbMBRtUJGwuDT+7c7YFALGFJ1NYi+emkC9x1oafvmPgEYSE+tMKzNcwrHi3ytGgKdIotsKwaF35QNXYA9aMs="
  21. on_success: change
  22. on_failure: always
  23. before_deploy: mvn -fmain/pom.xml -Puber-jar clean package -DskipTests
  24. addons:
  25. coverity_scan:
  26. project:
  27. name: "cryptomator/cryptomator"
  28. notification_email: sebastian.stenzel@cryptomator.org
  29. build_command: "mvn -fmain/pom.xml clean test -DskipTests"
  30. branch_pattern: coverity_scan
  31. deploy:
  32. provider: releases
  33. prerelease: false
  34. api_key:
  35. secure: "ZjE1j93v3qbPIe2YbmhS319aCbMdLQw0HuymmluTurxXsZtn9D4t2+eTr99vBVxGRuB5lzzGezPR5zjk5W7iHF7xhwrawXrFzr2rPJWzWFt0aM+Ry2njU1ROTGGXGTbv4anWeBlgMxLEInTAy/9ytOGNJlec83yc0THpOY2wxnk="
  36. file: main/uber-jar/target/Cryptomator-$TRAVIS_TAG.jar
  37. skip_cleanup: true
  38. on:
  39. repo: cryptomator/cryptomator
  40. tags: true