forked from spring-projects/spring-data-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (40 loc) · 1.94 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: java
matrix:
include:
- jdk: openjdk8
env: JDK='OpenJDK 8'
- env: JDK='OpenJDK 11'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 11
- env: JDK='OpenJDK 12'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 12
- env: JDK='OpenJDK 13'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 13
- env: JDK='OpenJDK EA'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh
addons:
apt:
sources:
- sourceline: 'deb http://packages.couchbase.com/releases/couchbase-server/community/deb/ xenial xenial/main'
key_url: 'http://packages.couchbase.com/ubuntu/couchbase.key'
packages:
- couchbase-server-community
services:
- couchbase-server
- redis-server
- docker
cache:
directories:
- $HOME/.m2
- download
# See https://issues.couchbase.com/browse/MB-26556
install:
- curl -X POST http://127.0.0.1:8091/pools/default -d memoryQuota=2000 -d indexMemoryQuota=256 -d ftsMemoryQuota=256
- curl -X POST http://127.0.0.1:8091/node/controller/setupServices -d "services=kv,index,n1ql,fts"
- curl -X POST http://127.0.0.1:8091/settings/indexes -d "storageMode=forestdb"
- curl -X POST http://127.0.0.1:8091/settings/web -d "username=Administrator&password=password&port=8091&"
- /opt/couchbase/bin/cbdocloader -c 127.0.0.1:8091 -u Administrator -p password -b travel-sample -m 256 -d /opt/couchbase/samples/travel-sample.zip
- /opt/couchbase/bin/couchbase-cli user-manage -c 127.0.0.1:8091 -u Administrator -p password --set --rbac-username=travel-sample --rbac-password=password --roles=admin --auth-domain local
script:
- mvn -version
- java -version
- mvn clean dependency:list test -U -Dsort -Dmaven.test.redirectTestOutputToFile=true -B -s settings.xml