-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
100 lines (94 loc) · 2.42 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
# sudo: required
notifications:
slack:
on_failure: always
matrix:
fast_finish: true
include:
# TESTED OK
# https://gradle.org/install/
# https://sdkman.io/install
- name: "deploy gradle w sdkman on bionic arm64"
dist: bionic
sudo: false
install: true
arch: amd64
language: shell
before_install:
- curl -s "https://get.sdkman.io" | bash
- source "$HOME/.sdkman/bin/sdkman-init.sh"
- sdk version
- sdk install gradle 6.7
- gradle -v
after_success:
- deactivate
# TESTED OK
- name: "build gradle w jacoco coveralls on bionic arm64"
dist: bionic
arch: amd64
sudo: required
language: java
jdk:
- openjdk8
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.gradle'
before_install:
- java -version
- gradle -v
# - chmod +x gradlew
- cd app5 && chmod +x gradlew
script:
# - cd app5 && chmod +x gradlew
- "./gradlew clean build"
after_success:
- "./gradlew jacocoTestReport coveralls"
- deactivate
# TESTED OK
- name: "build gradle w findbugs blackduckcopilot on bionic arm64"
dist: bionic
arch: amd64
sudo: required
language: java
jdk:
- openjdk8
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.gradle'
before_install:
- java -version
- gradle -v
# - chmod +x gradlew
- cd app4 && chmod +x gradlew
script:
# - cd app4 && chmod +x gradlew
- ./gradlew assemble
- ./gradlew check
after_success:
# Upload to CoPilot
- bash <(curl -s https://copilot.blackducksoftware.com/ci/travis/scripts/upload)
- deactivate
# TESTED OK
- name: "build gradle w make findbugs blackduckcopilot on bionic arm64"
dist: bionic
arch: amd64
sudo: required
language: java
jdk:
- openjdk8
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.gradle'
before_install:
- java -version
- gradle -v
script:
- sudo make deploy-app4
after_success:
# Upload to CoPilot
- bash <(curl -s https://copilot.blackducksoftware.com/ci/travis/scripts/upload)
- deactivate