Simplify the travis file
- Remove `sudo` since it's deprecated, along with the useless `apt update` call - Remove the manual maven installation since it's already present on the travis image by default This should reduce a bit the time taken for a whole CI run.
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
language: java
|
language: java
|
||||||
sudo: required
|
|
||||||
jdk:
|
jdk:
|
||||||
- oraclejdk8
|
- oraclejdk8
|
||||||
services:
|
services:
|
||||||
@@ -7,12 +6,5 @@ services:
|
|||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.m2
|
- $HOME/.m2
|
||||||
install:
|
|
||||||
- sudo apt-get -qq update
|
|
||||||
before_script:
|
|
||||||
- wget http://apache.mirrors.tds.net/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
|
|
||||||
- tar -xvf apache-maven-3.5.4-bin.tar.gz
|
|
||||||
- export M2_HOME=$PWD/apache-maven-3.5.4
|
|
||||||
- export PATH=$PWD/apache-maven-3.5.4/bin:$PATH
|
|
||||||
script:
|
script:
|
||||||
- mvn verify -B -P integration-test
|
- mvn verify -B -P integration-test
|
||||||
|
|||||||
Reference in New Issue
Block a user