This file accepted the license condition of Microsoft for there Docker image when running tests. Very likely without the person using this knowing that she is accepting a license. The file now has to be explicitly provided. The Travis CI build adds the container-license-acceptance.txt for the build only.
33 lines
817 B
YAML
33 lines
817 B
YAML
language: java
|
|
|
|
matrix:
|
|
include:
|
|
- jdk: oraclejdk8
|
|
env: JDK='Oracle JDK 8'
|
|
- jdk: oraclejdk9
|
|
env: JDK='Oracle JDK 9'
|
|
- env:
|
|
- JDK='Oracle JDK 10'
|
|
- NO_JACOCO='true'
|
|
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -F 10
|
|
- env:
|
|
- JDK='Oracle JDK 11'
|
|
- NO_JACOCO='true'
|
|
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -F 11
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.m2
|
|
|
|
sudo: false
|
|
|
|
services:
|
|
- docker
|
|
|
|
install: true
|
|
|
|
script:
|
|
- "echo 'microsoft/mssql-server-linux:2017-CU6' > spring-data-jdbc/src/test/resources/container-license-acceptance.txt"
|
|
- "mvn -version"
|
|
- "mvn clean dependency:list test -Pall-dbs${NO_JACOCO:+',no-jacoco'} -Dsort -U"
|