1 Star 0 Fork 0

SunBeau/pgjdbc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/SunBeau/pgjdbc.git
git@gitee.com:SunBeau/pgjdbc.git
SunBeau
pgjdbc
pgjdbc
master

搜索帮助