зеркало из https://github.com/Azure/YCSB.git
[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
This commit is contained in:
Родитель
961a3dd599
Коммит
96eb2c457a
|
@ -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
|
||||
|
|
6
pom.xml
6
pom.xml
|
@ -237,7 +237,11 @@ LICENSE file.
|
|||
<configuration>
|
||||
<rules>
|
||||
<requireMavenVersion>
|
||||
<version>3.1.0</version>
|
||||
<!--
|
||||
Maven 3.6.2 has issues
|
||||
https://github.com/brianfrankcooper/YCSB/issues/1390
|
||||
-->
|
||||
<version>[3.1.0,3.6.2),(3.6.2,)</version>
|
||||
</requireMavenVersion>
|
||||
</rules>
|
||||
</configuration>
|
||||
|
|
Загрузка…
Ссылка в новой задаче