.travis.yml 2.0 KB

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