mirror of
https://github.com/cryptomator/cryptomator.git
synced 2024-11-26 21:40:29 +00:00
51 lines
2.4 KiB
YAML
51 lines
2.4 KiB
YAML
language: java
|
|
sudo: required
|
|
dist: trusty
|
|
jdk:
|
|
- oraclejdk8
|
|
cache:
|
|
directories:
|
|
- $HOME/.m2
|
|
env:
|
|
global:
|
|
- secure: "IfYURwZaDWuBDvyn47n0k1Zod/IQw1FF+CS5nnV08Q+NfC3vGGJMwV8m59XnbfwnWGxwvCaAbk4qP6s6+ijgZNKkvgfFMo3rfTok5zt43bIqgaFOANYV+OC/1c59gYD6ZUxhW5iNgMgU3qdsRtJuwSmfkVv/jKyLGfAbS4kN8BA=" # COVERITY_SCAN_TOKEN
|
|
- secure: "lV9OwUbHMrMpLUH1CY+Z4puLDdFXytudyPlG1eGRsesdpuG6KM3uQVz6uAtf6lrU8DRbMM/T7ML+PmvQ4UoPPYLdLxESLLBat2qUPOIVBOhTSlCc7I0DmGy04CSvkeMy8dPaQC0ukgNiR7zwoNzfcpGRN/U9S8tziDruuHoZSrg=" # BINTRAY_API_KEY
|
|
- secure: "oWFgRTVP6lyTa7qVxlvkpm20MtVc3BtmsNXQJS6bfg2A0o/iCQMNx7OD59BaafCLGRKvCcJVESiC8FlSylVMS7CDSyYu0gg70NUiIuHp4NBM5inFWYCy/PdQsCTzr5uvNG+rMFQpMFRaCV0FrfM3tLondcVkhsHL68l93Xoexx4=" # CODACY_PROJECT_TOKEN
|
|
addons:
|
|
coverity_scan:
|
|
project:
|
|
name: "cryptomator/cryptomator"
|
|
notification_email: sebastian.stenzel@cryptomator.org
|
|
build_command: "mvn -fmain/pom.xml clean test -DskipTests"
|
|
branch_pattern: release.*
|
|
install:
|
|
# "clean" needed until https://bugs.openjdk.java.net/browse/JDK-8067747 is resolved.
|
|
- mvn -fmain/pom.xml clean package -DskipTests dependency:go-offline -Pcoverage
|
|
- mvn -fmain/pom.xml clean package -DskipTests dependency:go-offline -Prelease
|
|
script:
|
|
- mvn --update-snapshots -fmain/pom.xml clean test jacoco:report verify -Pcoverage
|
|
before_deploy:
|
|
- mvn -fmain/pom.xml -Prelease clean package -DskipTests
|
|
deploy:
|
|
- provider: releases
|
|
prerelease: false
|
|
api_key:
|
|
secure: "ZjE1j93v3qbPIe2YbmhS319aCbMdLQw0HuymmluTurxXsZtn9D4t2+eTr99vBVxGRuB5lzzGezPR5zjk5W7iHF7xhwrawXrFzr2rPJWzWFt0aM+Ry2njU1ROTGGXGTbv4anWeBlgMxLEInTAy/9ytOGNJlec83yc0THpOY2wxnk="
|
|
file:
|
|
- "main/uber-jar/target/Cryptomator-$TRAVIS_TAG.jar"
|
|
- "main/ant-kit/target/antkit.tar.gz"
|
|
skip_cleanup: true
|
|
on:
|
|
repo: cryptomator/cryptomator
|
|
tags: true
|
|
- provider: script
|
|
script: "curl -X POST -u cryptobot:${BINTRAY_API_KEY} -H 'Content-Type: application/json' -d '{\"name\": \"${TRAVIS_TAG}\", \"vcs_tag\": \"${TRAVIS_TAG}\"}' https://api.bintray.com/packages/cryptomator/cryptomator/cryptomator-win/versions"
|
|
on:
|
|
repo: cryptomator/cryptomator
|
|
tags: true
|
|
- provider: script
|
|
script: "curl -X POST -u cryptobot:${BINTRAY_API_KEY} -H 'Content-Type: application/json' -d '{\"name\": \"${TRAVIS_TAG}\", \"vcs_tag\": \"${TRAVIS_TAG}\"}' https://api.bintray.com/packages/cryptomator/cryptomator/cryptomator-osx/versions"
|
|
on:
|
|
repo: cryptomator/cryptomator
|
|
tags: true
|