mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Minor Travis updates, including JDK 14 (#1276)
This commit is contained in:
parent
24a5f9c654
commit
54d0a37832
|
@ -1,23 +1,26 @@
|
||||||
language: java
|
language: java
|
||||||
sudo: false
|
os: linux
|
||||||
|
dist: bionic
|
||||||
install: mvn -Ptravis -DskipTests=true -nsu -B install
|
install: mvn -Ptravis -DskipTests=true -nsu -B install
|
||||||
script:
|
script:
|
||||||
- mvn -Ptravis ${JACOCO} -nsu -B test
|
- mvn -Ptravis ${JACOCO} -nsu -B test
|
||||||
- find $HOME/.m2/repository/com/google/zxing -path "*SNAPSHOT/*" -delete
|
- find $HOME/.m2/repository/com/google/zxing -path "*SNAPSHOT/*" -delete
|
||||||
- find $HOME/.m2/repository/com/google/zxing -name "*SNAPSHOT" -type d -delete
|
- find $HOME/.m2/repository/com/google/zxing -name "*SNAPSHOT" -type d -delete
|
||||||
matrix:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- jdk: openjdk8
|
- jdk: openjdk8
|
||||||
env:
|
env:
|
||||||
- JACOCO=-Pjacoco
|
- JACOCO=-Pjacoco
|
||||||
- ANDROID_HOME=$HOME/android-sdk-linux
|
- ANDROID_HOME=$HOME/android-sdk-linux
|
||||||
before_install: if [ ! -d $HOME/android-sdk-linux/platforms ]; then curl -s https://storage.googleapis.com/zxing-build/android-sdk-linux.tar.bz2 | bunzip2 | tar xf - -C $HOME; else ls -l $HOME/android-sdk-linux; fi
|
before_install: if [ ! -d $HOME/android-sdk-linux/platforms ]; then curl -s https://storage.googleapis.com/zxing-build/android-sdk-linux.tar.bz2 | bunzip2 | tar xf - -C $HOME; else ls -l $HOME/android-sdk-linux; fi
|
||||||
- jdk: oraclejdk11
|
- jdk: openjdk11
|
||||||
|
- jdk: openjdk14
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.m2
|
- $HOME/.m2
|
||||||
- $HOME/android-sdk-linux
|
- $HOME/android-sdk-linux
|
||||||
git:
|
git:
|
||||||
|
quiet: true
|
||||||
depth: 10
|
depth: 10
|
||||||
after_success: if [ -n "$JACOCO" ]; then bash <(curl -s https://codecov.io/bash); fi
|
after_success: if [ -n "$JACOCO" ]; then bash <(curl -s https://codecov.io/bash); fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue