forked from mplushnikov/lombok-intellij-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (40 loc) · 1021 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
41
42
43
44
45
46
47
language: java
sudo: false
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
env:
- IDEA_VERSION=LATEST-EAP-SNAPSHOT UPLOAD_BUILD=true
- IDEA_VERSION=2018.3.2 UPLOAD_BUILD=false
- IDEA_VERSION=2018.3 UPLOAD_BUILD=true
- IDEA_VERSION=2018.2 UPLOAD_BUILD=true
- IDEA_VERSION=2018.1 UPLOAD_BUILD=true
before_install:
- chmod +x gradlew
- pip install --user codecov
after_success:
- codecov
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/33baacd26d1b840aebaa
on_success: always
on_failure: always
on_start: never
deploy:
provider: releases
api_key:
secure: "${GITHUB_KEY}"
skip_cleanup: true
file_glob: true
file: "build/distributions/lombok-plugin-*.zip"
on:
tags: true
condition: "$TRAVIS_TAG =~ ^releasebuild_[0-9]+.*$"
after_deploy:
- ./gradlew publishPlugin