代码拉取完成,页面将自动刷新
language: java
os: linux
jobs:
include:
- env: JDK='OpenJDK 16'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 16
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:
- redis
- 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:
- cp -f settings.xml $HOME/.m2/settings.xml
- mvn -version
- java -version
- mvn clean test -U -Dsort -Dmaven.test.redirectTestOutputToFile=true -B -s settings.xml
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。