Skip to content

Commit

Permalink
Create .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thuongtruong109 authored Aug 12, 2021
1 parent 4e8b25e commit b0d0e96
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: java
sudo: false
jdk:
- oraclejdk15
script:
- java --version
- ./mvnw clean install
- ./mvnw test
- jdk_switcher use openjdk8
- # do stuff with open Java 8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
on:
branch: gh_pages

0 comments on commit b0d0e96

Please sign in to comment.