From 7980ae8d51ed720942bf672ecedaff1f4ff9efc2 Mon Sep 17 00:00:00 2001 From: Sebastien Besson Date: Tue, 11 Oct 2016 12:55:02 +0100 Subject: [PATCH] Do not override default Travis commands From https://docs.travis-ci.com/user/languages/java/#Projects-Using-Maven, the default Travis environment firsts calls `mvn install` skipping tests and Javadoc then `mvn test`. Overriding `mvn install` is unnecessary and causes the tests to be executed twice. This commit should increase the build time. --- .travis.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 88930e8e..4e960b61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,11 +11,5 @@ jdk: - oraclejdk8 - openjdk7 -env: - - BUILD=build - matrix: fast_finish: true - -install: - - if [[ $BUILD == 'build' ]]; then mvn install; fi