-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
38 lines (32 loc) · 1.56 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
language: java
os: linux
dist: trusty
jdk: oraclejdk8
install:
- rm $HOME/jmc -rf
- git clone https://github.com/openjdk/jmc.git $HOME/jmc
- mvn p2:site -f $HOME/jmc/releng/third-party/pom.xml
- mvn jetty:run -f $HOME/jmc/releng/third-party/pom.xml &
- mvn install --quiet -DskipTests=true -Dspotbugs.skip=true -f $HOME/jmc/core/pom.xml
- mvn install --quiet -DskipTests=true -Dspotbugs.skip=true -f $HOME/jmc/pom.xml
script:
- ./gradlew shadowJar
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.m2
- $HOME/jmc/releng/third-party/target
deploy:
provider: releases
api_key:
secure: IzFXXFLGT0b3/xQv20Xl+Uh3/ZqYpI32A3S1lQ18oVYgZAs4Nt78RUIhfWXiwiQgX8MfVQL55S+IRoCCKEn4plZ1btPHJWRLyZ4p1i10X8Zo2WwUqnQ5vw5BjILE6SZYmyuMupixY8dXe4h2GRtNYhJn9nik0Vv+PXuCuXxuYDdJzmFe+HlfNcmCoi8ZN6Acn8nzBRlgk8xJ+bqs9+wz4UHoTwduZad9BiGWmm9Vuee7Jpq37+UPCitQbQW4eRmPU8gUujzylfEwng+mU4nNpBEw/5z1MUXzNGo3u4nX56O60lpbdcjmHnudRl0/Cz+vG7eZ9AJKW/SSVl1PV/dXxGhuXN8DKzvKNkCTZBEsDJ7S8WsYBe10sDLra7dP6r7slC+aNfykQCQNnjyeJcOLFC0ME+DEDRgxlPdanNbrNQlH41rh1nzYSqAjF0iES8D1lQACZkT2Wy3jq7GTB/3Ny2VbBTytxMWXNTZwup8cOoNCii1twcVBlNTkOIGan9uHZ2zY0UrZC7DjLKjRvnrLNRy9ABDUBVZuWinkOS8M/1e3IyEq1kQ3f2++b3hMKrxOWctfX89U1EAN5AiHG51p6yGbk98FmSuB5j0c0+y1vGmAQ44AnuUnvwucbNb051U8v5p6N/7QKhviHuMQCkk16//6LLlCjM+NqRwU3zzhs/E=
skip_cleanup: true
file_glob: true
file: build/libs/*.jar
on:
repo: tabjy/prometheus-jfr-exporter
branch: master