Speed up Travis build

Modify to use standard mode and directory cache for Travis CI build.

Closes gh-7043
pull/7262/head
Kazuki Shimizu 8 years ago committed by Stephane Nicoll
parent 4ec77d4420
commit 7c1f9eb1b9

@ -5,7 +5,10 @@ services:
- mongodb - mongodb
- redis - redis
- cassandra - cassandra
sudo: false sudo: required
cache:
directories:
- $HOME/.m2
install: true install: true
before_script: travis_wait 45 ./mvnw install -q -U -DskipTests=true -Pfast -Dmaven.test.redirectTestOutputToFile=true before_script: travis_wait 45 ./mvnw install -q -U -DskipTests=true -Pfast -Dmaven.test.redirectTestOutputToFile=true
script: ./mvnw install -q -nsu -Dmaven.test.redirectTestOutputToFile=true -P '!integration' script: ./mvnw install -q -nsu -Dmaven.test.redirectTestOutputToFile=true -P '!integration'
Loading…
Cancel
Save