forked from sherter/google-java-format-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (54 loc) · 4.5 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
sudo: required
dist: trusty
language: java
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/.groovy/grapes/
env:
global:
- secure: pIqlMA953ID3FDiRIzCgtOzCi1wM+JN1X67JoaEoaWZcK9/5UdojyERxbJQb2VwE8jdaRUxJmLIm2RCPiG5JLnDtFBP9y0I5zKfsMYYGqwxX8vj8OwDL5Uvxh20SmpTihPBMJy23pG8urJoenhUO5DFP3qvpv2MpXlENfuCllvCDlV9bIYectnyAfwtbFAZA+DxLfF7LDCfB7lxJZNWoVuFg3Ribc8z/iVlGZ/C0hVBGUR9L1CCKNSbplhXaFrsiRu+p1fCgVYXVuTWrVwjTtd8DKbY6atbakcy8r4EYIg9Acq4vOIY1f9ePQGNE5QqZqeQE9hd5hBChUdH/lnq9+XWsRlU+Q1/gJMoiH3/aNT/gx4wJ7hbijAtKQ63AZcavxqgffVCX+jxvTV+hsN//jLm96FLBuSTkqlu/RF/m/2ZfIqQrv/rf2qrRmT4ygKmQrSfL/55sVnTAD5g8Ss9jHJyBP4YqMCDKm1uHcWIiyqUxtOS+SseOOXadQzoHA5Pb/L7aA001H5o8+hdkY56/7ILDjaqwCyI31TdXlSeELDS6YYMOdUq3Jc79Al0b15xQIHy/tKXy7B+h7U7VP1rL4RaHr605JSUdHuhMCP5PdxjS45ldPkwNLQUt90MGtRl7229PUdgSLt8O17bpnCR4Dhs1SzDH5UeBv9y5bGEY3N0=
- secure: Oq15JlYDBG3Z0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1,4.3.1,4.4.1,4.5.1,4.6,4.7,4.8.1,4.9,4.10.3,5.0,5.1.1,5.2.1,5.3.1,5.4.1,5.5.1,5.6.4,6.0.1,6.1.1,6.2.2,6.3,6.4.1,6.5,6.9.1
- PARALLEL_INTEG_TEST_COUNT=3
jdk: openjdk8
install: true # overwrite default install step (./gradlew assemble)
jobs:
include:
- stage: unit tests
script: ./gradlew test
- jdk: openjdk11
script: ./gradlew test
- stage: integration tests
env: INDEX=0
script: scripts/travis-integ-tests.sh
- env: INDEX=1
script: scripts/travis-integ-tests.sh
- env: INDEX=2
script: scripts/travis-integ-tests.sh
- jdk: oraclejdk8
env: GRADLE_VERSIONS=2.6,3.0,4.0,5.0,6.0,6.5
script: scripts/travis-integ-tests.sh
- jdk: openjdk11
env: GRADLE_VERSIONS=4.9,5.0,6.0,6.5,6.9.1
script: scripts/travis-integ-tests.sh
- jdk: oraclejdk11
env: GRADLE_VERSIONS=4.9,5.0,6.0,6.5,6.9.1
script: scripts/travis-integ-tests.sh
- jdk: openjdk14
env: GRADLE_VERSIONS=6.3,6.5,6.9.1
script: scripts/travis-integ-tests.sh
- jdk: oraclejdk14
env: GRADLE_VERSIONS=6.3,6.5,6.9.1
script: scripts/travis-integ-tests.sh
- stage: deploy
if: (branch = master) AND (NOT (type = pull_request))
script: ./gradlew publish
- if: tag IS present
script: ./gradlew publishPlugins -Dgradle.publish.key=$PLUGIN_PORTAL_KEY -Dgradle.publish.secret=$PLUGIN_PORTAL_SECRET