From 96eb2c457af63f84ea28c92051322826864f93c6 Mon Sep 17 00:00:00 2001 From: Kevin Risden Date: Sat, 1 Feb 2020 17:44:08 -0500 Subject: [PATCH] [travis] Updates Travis Maven and enforces Maven version (#1392) * Enforce not using Maven 3.6.2 * Use Maven 3.6.3 via Maven wrapper for Travis --- .travis.yml | 8 ++++---- pom.xml | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6105bfb13e..5fb89e92ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,16 +30,17 @@ addons: hostname: myshorthost postgresql: "9.5" -install: mvn install -q -DskipTests=true +install: + - mvn -N io.takari:maven:0.7.7:wrapper -Dmaven=3.6.3 + - ./mvnw install -q -DskipTests=true -script: mvn test -q +script: ./mvnw test -q before_script: - psql -c 'CREATE database test;' -U postgres - psql -c 'CREATE TABLE usertable (YCSB_KEY VARCHAR(255) PRIMARY KEY not NULL, YCSB_VALUE JSONB not NULL);' -U postgres -d test - psql -c 'GRANT ALL PRIVILEGES ON DATABASE test to postgres;' -U postgres - # Services to start for tests. services: - ignite @@ -48,6 +49,5 @@ services: # temporarily disable riak. failing, docs offline. # - riak - # Can't use container based infra because of hosts/hostname sudo: true diff --git a/pom.xml b/pom.xml index 2ed59f37f2..6d1ba1af99 100644 --- a/pom.xml +++ b/pom.xml @@ -237,7 +237,11 @@ LICENSE file. - 3.1.0 + + [3.1.0,3.6.2),(3.6.2,)