forked from aim42/htmlSanityCheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (25 loc) · 683 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
language: groovy
sudo: false
dist: trusty
jdk:
- oraclejdk8
# Handle git submodules yourself
git:
submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
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/
install: true
script:
- ./gradlew check --scan -stacktrace
after_success:
- test ${TRAVIS_TAG} && ./gradlew publishPlugins || true