-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
67 lines (67 loc) · 1.72 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
matrix:
include:
- os: linux
language: java
jdk: oraclejdk8
script:
- ./gradlew clean build
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/
- $HOME/.konan/cache/
- $HOME/.konan/dependencies/
deploy:
provider: script
script: ./gradlew publish
skip_cleanup: true
dry-run: false
on:
branch: master
# - os: windows
# language: shell
# env:
# - JAVA_HOME=c:\\java8
# script:
# - ./travis_windows_setup.bat
# - ./gradlew.bat clean windowsTest
# 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/
# - $HOME/.konan/cache/
# - $HOME/.konan/dependencies/
# deploy:
# provider: script
# script: ./gradlew.bat publishWindowsPublicationToMavenRepository
# skip_cleanup: true
# dry-run: false
# on:
# branch: master
- os: osx
language: java
jdk: oraclejdk8
script:
- ./gradlew clean macosTest
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/
- $HOME/.konan/cache/
- $HOME/.konan/dependencies/
deploy:
provider: script
script: ./gradlew publishMacosPublicationToMavenRepository
skip_cleanup: true
dry-run: false
on:
branch: master