加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
j3east 提交于 2020-12-15 00:20 . chore: resolve travis ci build error 186
# Travis CI Java documentation can be found in:
# https://docs.travis-ci.com/user/languages/java/
# https://docs.travis-ci.com/user/reference/overview/#linux
dist: xenial
# This enables the 'defaults' to test java applications:
language: java
# https://docs.travis-ci.com/user/reference/xenial/#jvm-clojure-groovy-java-scala-support
jdk:
- openjdk8
cache:
directories:
- $HOME/.m2
# https://docs.travis-ci.com/user/job-lifecycle/
script:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -P '!oss-release,travis-ci'
- mvn test -DskipTests=false -B -P '!oss-release,travis-ci'
# tip: export CODECOV_TOKEN="xxx"
after_success:
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -Ls https://coverage.codacy.com/get.sh)
before_script:
- git config --global core.autocrlf input
before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
- psql -c 'create database test;' -U postgres
services:
- mysql
- mongodb
- redis-server
- postgresql
addons:
postgresql: "9.6"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化