Added CI configs.

This commit is contained in:
Erik C. Thauvin 2019-09-23 14:57:06 -07:00
parent 2c49a88df4
commit c63d1be70c
2 changed files with 82 additions and 0 deletions

26
.travis.yml Normal file
View file

@ -0,0 +1,26 @@
language: java
dist: trusty
env:
global:
- CI=true
install:
- git fetch --unshallow --tags
addons:
sonarcloud:
organization: "ethauvin-github"
jdk:
- oraclejdk8
- openjdk12
before_install:
- chmod +x gradlew
after_success:
- |
if [ "${TRAVIS_TEST_RESULT}" == 0 ] && [ "$TRAVIS_JDK_VERSION" == oraclejdk8 ]; then
./gradlew sonarqube
fi