forked from adobe/asset-share-commons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 1.77 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
dist: trusty
language: java
env:
global:
- CODECOV_TOKEN=fb2e5905-3a40-4402-9fc5-63f6765bd7e8
matrix:
include:
- jdk: oraclejdk8
name: Java 8 en_US (Main Build)
env: MAVEN_SKIP_RC=true MAVEN_OPTS="-Xmx512m -XX:MaxMetaspaceSize=512m -Duser.language=en -Duser.country=US" POST_COVERAGE=true
- jdk: oraclejdk8
name: Java 8 de_DE (Lightweight Build)
env: MAVEN_SKIP_RC=true MAVEN_OPTS="-Xmx512m -XX:MaxMetaspaceSize=512m -Duser.language=de -Duser.country=DE" POST_COVERAGE=false SKIP_DEPENDENCY_CHECK=true
- jdk: oraclejdk8
name: Java 8 es_ES (Lightweight Build)
env: MAVEN_SKIP_RC=true MAVEN_OPTS="-Xmx512m -XX:MaxMetaspaceSize=512m -Duser.language=es -Duser.country=ES" POST_COVERAGE=false SKIP_DEPENDENCY_CHECK=true
- jdk: oraclejdk8
name: Java 8 fr_FR (Lightweight Build)
env: MAVEN_SKIP_RC=true MAVEN_OPTS="-Xmx512m -XX:MaxMetaspaceSize=512m -Duser.language=fr -Duser.country=FR" POST_COVERAGE=false SKIP_DEPENDENCY_CHECK=true
- jdk: oraclejdk8
name: Java 8 hi_IN (Lightweight Build)
env: MAVEN_SKIP_RC=true MAVEN_OPTS="-Xmx512m -XX:MaxMetaspaceSize=512m -Duser.language=hi -Duser.country=IN" POST_COVERAGE=false SKIP_DEPENDENCY_CHECK=true
- jdk: oraclejdk11
name: Java 11 en_US (Lightweight Build)
env: MAVEN_SKIP_RC=true MAVEN_OPTS="-Xmx512m -XX:MaxMetaspaceSize=512m -Duser.language=en -Duser.country=US" POST_COVERAGE=false SKIP_DEPENDENCY_CHECK=true
script: mvn verify -B -PanalysisCI
after_success:
- if [ "$POST_COVERAGE" == "true" ]; then bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN; fi
- mvn clean jacoco:prepare-agent test jacoco:report
sudo: false
cache:
directories:
- $HOME/.m2
before_cache:
# don't cache snapshots
- find $HOME/.m2 -name *SNAPSHOT* -exec rm -r "{}" \;