-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
62 lines (56 loc) · 1.91 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
language: java
matrix:
include:
- os: linux
dist: trusty
sudo: false
jdk: openjdk7
# It sets java to the right version, but javac is on version 9. The integration tests fail
# - os: linux
# dist: trusty
# sudo: false
# jdk: openjdk8
# Not yet supported?
# - os: linux
# dist: trusty
# sudo: required
# jdk: openjdk9
- os: linux
dist: precise
sudo: false
jdk: oraclejdk7
- os: linux
dist: trusty
sudo: false
jdk: oraclejdk8
- os: linux
dist: trusty
sudo: false
jdk: oraclejdk9
# Test on one osx, should be Java 8
# - os: osx (Times out)
cache:
directories:
- $HOME/.m2
script:
- if [ $TRAVIS_BRANCH == 'master' ]; then echo "rm cache" && rm -r $HOME/.m2; fi
- cd jdcallgraph
- if [ $TRAVIS_JDK_VERSION == "oraclejdk9" ]; then mvn clean verify; fi
- if [ $TRAVIS_JDK_VERSION != "oraclejdk9" ]; then mvn clean verify cobertura:cobertura coveralls:report; fi
- cd ../integration_tests && ./all.sh
before_deploy:
- cd ../jdcallgraph
- pwd
- ls target
- ls target/jdcallgraph-*-agent.jar
deploy:
provider: releases
api_key:
secure: QZgKETGGH7p8Fco9sOllhWdAciqYi79qGXBD6mhp59wkxNts3e3pRTuxOpI1N+HrJ8Ilyci+kkOyQu90Wh0/F0Oi/KOdDMmfhmaUcOdrPrC1A6S2eJR1pcZ4jagKbva1yu7Xd3jYScdRU4nFVe/anoQPbCx6aQSK5unrjZOpbnS0WlTWwP5x0EPaQ2bnpVycbqVUth6kdqSXkyE9CJc2MwQRpDNl6z+5O8C4q+HKx8VBhRumFSkFLXItpN0nsuR+aA3UNTcb/xOJieAOEy35ORQKBtpAsILex9T1BH66apm9y9Js8xoo/pLuyGQSBBRekwc2GpePWHlPIlCGXBuNbblWDqZCaobvEgB+Q8O/e/cpu1XhtG0dFHZ6rsqcyrsVScTm5Q9QdttGeq/hegNlWyW5rK4p+Mb31v0sFCsBejB1ytWbgiBZ66aZvJF8EwW8tnyVA9jRsUyomRIOb1FH3DKYKtIji00VlIDz14yb9Wt5SlDAiACQmSn8OjG4jByRFCp+lqnJdqdn9CYc81nMrL8DFubw3hUpoQ6jpZrM42krcc7ccv1YRQ9566M7iB8vey1vSEfNBnfeO2m/q+AVDNDDQLC0GHeRXGVVAhVTkfOWkXiDpPQ8jIYVs2a6UNupkEXB/Bw1KuUGR3X2kRwrifDAk4q3SOYqr5gHkVebJWs=
skip_cleanup: true
file_glob: true
file: target/jdcallgraph-*-agent.jar
on:
tags: true
repo: dkarv/jdcallgraph
jdk: 'openjdk8'