blob: 7c50f379e5c9d1b6834ba63daf3c2e1e7f449202 [file] [log] [blame]
language: java
jdk:
- oraclejdk8
dist: trusty
sudo: required
cache:
directories:
- $HOME/.m2
- $HOME/downloads
branches:
only:
- master
- /^release-.*$/
- /^test-.*$/
- /^v[0-9]\..*$/
install: mvn compile -Dmaven.javadoc.skip=true | grep -v "Downloading\|Downloaded"
before_script:
- $TRAVIS_DIR/install-env.sh
- $TRAVIS_DIR/install-hugegraph-from-source.sh $TRAVIS_BRANCH | grep -v "Downloading\|Downloaded"
- $TRAVIS_DIR/load-data-into-hugegraph.sh
script:
- mvn test -P unit-test
- mvn test -P integrate-test
after_success:
- bash <(curl -s https://codecov.io/bash)
env:
global:
- TRAVIS_DIR=computer-dist/src/assembly/travis
- COMMIT_ID=c0dff5b233e853716ca6f3f28a5cda05e6f3d639