代码拉取完成,页面将自动刷新
sudo: false
language: java
dist: trusty
branches:
except:
- /^tmp\/.*/
- /^REL.*/
before_script:
- psql -c "create user test with password 'test'" -U postgres
- psql -c 'create database test owner test;' -U postgres
env:
global:
- secure: "NI+aqwRLLVt2feJdk/2ZEZnsaPyu+vOx8MahVxjz0UUVvRHVqxM5O1M0R53NJfEeIjflOzgZJwRLqgyl6dkdfjytRhaHWGptQdehV4cwNb+4epnn8WlpRzMac65zTQqnbGVtw9jissDQv6/Zl/+D+DMcU65BbFZkix40whILXG0="
before_install:
- unset _JAVA_OPTIONS # see https://github.com/travis-ci/travis-ci/issues/8408
script:
# make sure previous build artifacts are not used for subsequent builds
- rm -rf $HOME/.m2/repository/org/postgresql || true
- ./.travis/travis_build.sh
- ./.travis/travis_check_postgres_health.sh
# To avoid useless S3 cache updates (https://github.com/travis-ci/travis-ci/issues/1441#issuecomment-67607074)
#- mkdir /tmp/cache-trick
#- mv $HOME/.m2/repository/org/postgresql /tmp/cache-trick/
before_cache:
- F=CleanupGradleCache sh -x -c 'curl -O https://raw.githubusercontent.com/vlsi/cleanup-gradle-cache/v1.x/$F.java && javac -J-Xmx128m $F.java && java -Xmx128m $F'
- find $HOME/.ivy2 -name "ivydata-*.properties" -print0 | xargs -0 rm -v
- rm -rf $HOME/.ivy2/cache/org.postgresql/
- find $HOME/.sbt -name "*.lock" -print0 | xargs -0 rm -v
# No sense in caching current build artifacts
- rm -rf $HOME/.m2/repository/org/postgresql
# Skip default "mvn install" issued by Travis
# Root project cannot be compiled with older JDKs, so it makes sense to just skip the step
install: true
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.m2/repository
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
matrix:
fast_finish: true
include:
- addons:
postgresql: "9.6"
env:
- PG_VERSION=9.6
- TEST_CLIENTS=Y
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。