-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (40 loc) · 854 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
35
36
37
38
39
40
language: shell
git:
depth: false
os:
- osx
- windows
- linux
dist: xenial
stages:
- check
- test
env:
global:
- GRAVIS="https://raw.githubusercontent.com/DanySK/Gravis-CI/master/"
matrix:
- JDK="[email protected]"
- JDK="[email protected]"
- JDK="[email protected]"
- JDK="[email protected]"
jobs:
include:
- stage: check
name: "check"
os: linux
env:
- JDK="[email protected]"
script:
- ./gradlew clean check --parallel
before_install:
- curl "${GRAVIS}.install-jdk-travis.sh" --output .install-jdk-travis.sh
- source .install-jdk-travis.sh
script:
- ./gradlew test --parallel
before_cache:
- curl "${GRAVIS}.clean_gradle_cache.sh" --output .clean_gradle_cache.sh
- bash .clean_gradle_cache.sh
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/