Skip to content

Commit

Permalink
Added travis configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Apr 4, 2019
1 parent d9da5d5 commit 573b064
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
@@ -0,0 +1,29 @@
language: java

jdk:
- oraclejdk8

addons:
sonarcloud:
organization: "ethauvin-github"

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

before_install:
- chmod +x gradlew

script:
- ./gradlew check

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

after_success:
- |
if [ "${TRAVIS_TEST_RESULT}" == 0 ]; then
./gradlew sonarqube
fi

0 comments on commit 573b064

Please sign in to comment.