diff --git a/.travis.yml b/.travis.yml index c55ac92..478a5fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,32 +1,39 @@ dist: xenial language: java +install: true + +matrix: + include: + - jdk: oraclejdk9 + script: + - git config --global push.default simple + - export GIT_TAG=$TRAVIS_BRANCH.$TRAVIS_BUILD_NUMBER - gradle clean build + - gradle dist - tar -zcf hello_world_test_reports.tar.gz build/reports - tar -zcf hello_world_executable_distributions.tar.gz build/distributions - - ls -R + before_deploy: - git config --global user.email "builds@travis-ci.com" - git config --global user.name "Travis CI" - export GIT_TAG=$TRAVIS_BRANCH.$TRAVIS_BUILD_NUMBER - - echo "Just generated GIT_TAG" - - echo $GIT_TAG + - echo "Just generated GIT_TAG for $TRAVIS_BRANCH.$TRAVIS_BUILD_NUMBER" >> $TRAVIS_BUILD_DIR/build.txt - git tag $GIT_TAG -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER" - - git push -q https://$GITPERM@github.com/drlehr/Java_Gradle_Hello_World --tags - - ls -R + - git push -q https://$GITPERM@github.com/CS3398-Bolians-Booleans/Java_Gradle_Hello_World --tags + deploy: provider: releases - file_glob: true api_key: secure: $GITPERM file: - README.md - hello_world_test_reports.tar.gz - hello_world_executable_distributions.tar.gz - skip_cleanup: true + skip_cleanup: true on: tags: false - + all_branches: true diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ebcc86a..e09fcf5 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip