-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (46 loc) · 1.12 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
branches:
only: master
jobs:
include:
- stage: test
os: linux
language: java
jdk: openjdk11
script:
- ./gradlew jvmTest
- ./gradlew linuxTest
- os: osx
language: java
jdk: openjdk11
script: ./gradlew macosTest
# - os: windows
# language: shell
# install:
# - powershell -ExecutionPolicy Unrestricted -f "ci/jabba.ps1"
# script:
# - powershell -ExecutionPolicy Unrestricted -f "ci/check.ps1"
- stage: release
os: linux
language: java
jdk: openjdk11
script: ./gradlew bintrayUpload
- os: osx
language: java
jdk: openjdk11
script: ./gradlew bintrayUpload
# - os: windows
# language: shell
# install:
# - powershell -ExecutionPolicy Unrestricted -f "ci/jabba.ps1"
# script:
# - powershell -ExecutionPolicy Unrestricted -f "ci/release.ps1"
stages:
- test
- name: release
if: type != pull_request AND repo = "raniejade/termkolors"
notifications:
email:
recipients:
- raniejaderamiso@gmail.com
on_success: never
on_failure: always