代码拉取完成,页面将自动刷新
language: java
jdk:
- oraclejdk8
dist: trusty
sudo: required
cache:
directories:
- $HOME/.m2
- $HOME/downloads
branches:
only:
- master
- /^release-.*$/
- /^test-.*$/
# Fix can't download oracle jdbc driver from maven respority
before_install: mvn install:install-file -Dfile=$STATIC_DIR/lib/ojdbc8-12.2.0.1.jar -DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
install: mvn compile -Dmaven.javadoc.skip=true | grep -v "Downloading\|Downloaded"
before_script:
- $TRAVIS_DIR/install-hugegraph-from-source.sh $TRAVIS_BRANCH | grep -v "Downloading\|Downloaded"
- |
if [ "$SOURCE_TYPE" == "hdfs" ]; then
$TRAVIS_DIR/install-hadoop.sh
fi
- |
if [ "$SOURCE_TYPE" == "jdbc" ]; then
$TRAVIS_DIR/install-mysql.sh
fi
script:
- mvn test -Punit
- mvn test -P${SOURCE_TYPE}
after_success:
- bash <(curl -s https://codecov.io/bash)
env:
matrix:
- SOURCE_TYPE=file
- SOURCE_TYPE=hdfs
- SOURCE_TYPE=jdbc
global:
- TRAVIS_DIR=assembly/travis
- STATIC_DIR=assembly/static
- SERVER_VERSION=0.11.2
- COMMIT_ID=c0dff5b233e853716ca6f3f28a5cda05e6f3d639
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。