2018-09-17 10:07:32 +03:00
|
|
|
language: java
|
2019-06-18 16:07:38 +03:00
|
|
|
dist: trusty
|
2018-09-22 16:21:07 +03:00
|
|
|
# Use https (public access) instead of git for git-submodules. This modifies only Travis-CI behavior!
|
|
|
|
# disable the default submodule logic
|
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
# use sed to replace the SSH URL with the public URL, then init and update submodules
|
|
|
|
before_install:
|
|
|
|
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
# gradle
|
2018-09-17 10:07:32 +03:00
|
|
|
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/
|
|
|
|
script:
|
2019-05-15 14:11:22 +03:00
|
|
|
- ./gradlew build
|