forked from bndtools/bnd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (52 loc) · 1.83 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
sudo: false
language: java
env:
global:
matrix:
include:
- name: "OpenJDK8"
env:
- secure: JuFTmYTsnmzZzWTvf/hNkRDkpQhLrtl8BRLBdxGR79pzGxmoq961pgaYO615DFJUBggmZm1VkLSao3sC8eWfanTng9Qm1r1CUVsHbLiBDrIR2kwUU7DFiPOEkqwuf9YDjlTl1D4bRKwOZXPVMzlbwfWNr5yj2iRS8PSRS/76f3k=
- name: "OpenJDK11"
install:
- "source install-jdk.sh --url https://cdn.azul.com/zulu/bin/zulu11.2.3-jdk11.0.1-linux_x64.tar.gz"
- name: "Local rebuild"
script:
- "./gradlew --no-daemon -Dmaven.repo.local=maven/target/m2 :biz.aQute.bnd.gradle:build :biz.aQute.bnd.gradle:releaseNeeded"
- "./gradlew --no-daemon -Dmaven.repo.local=maven/target/m2 --rerun-tasks -Pbnd_repourl=./dist/bundles :buildscriptDependencies :build"
- name: "Documentation"
install:
- "rvm --version"
- "rvm use 2.4 --install --binary --fuzzy"
- "ruby --version"
- "gem --version"
- "bundle --version"
before_script:
- "cd docs"
script:
- "./build.sh"
allow_failures:
- env: ALLOW_FAILURE=true
before_install:
- "unset _JAVA_OPTIONS"
- "curl -O -L --retry 3 https://github.com/sormuras/bach/raw/master/install-jdk.sh"
install:
- "source install-jdk.sh --url https://cdn.azul.com/zulu/bin/zulu8.33.0.1-jdk8.0.192-linux_x64.tar.gz"
before_script:
- "./gradlew --no-daemon --version"
- "./mvnw --version"
script:
- "./gradlew --no-daemon -Dmaven.repo.local=maven/target/m2 --continue :build :maven:deploy"
before_cache:
- "git status"
- "rm -rf maven/target/m2/biz/aQute/bnd/"
- "rm -f $HOME/.gradle/caches/modules-2/modules-2.lock"
- "rm -rf $HOME/.gradle/caches/*/plugin-resolution/"
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.m2/wrapper/
- cnf/cache/stable/
- docs/bundler/
- maven/target/m2/