-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
55 lines (46 loc) · 1.83 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
language: java
jdk: oraclejdk8
install: true
sudo: false
env:
global:
- GRADLE_OPTS="-Dorg.gradle.daemon=false"
matrix:
- INTELLIJ_VERSION=oldest
- INTELLIJ_VERSION=latest
- INTELLIJ_VERSION=eap
matrix:
fast_finish: true
allow_failures:
- env: INTELLIJ_VERSION=eap
before_script:
- ./gradlew clean
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.bin
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
- rm -rf $HOME/.gradle/caches/*/scripts/
- rm -rf $HOME/.gradle/caches/*/scripts-remapped/
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
after_success:
- "[ \"$INTELLIJ_VERSION\" != \"latest\" ] || bash <(curl -s https://codecov.io/bash)"
before_deploy:
- ./gradlew buildPlugin
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: Pu5iltA4TWUz0VASG6gVjhz3RfINkDtvfbFTlHiXoYTht6yS+AL/r2EkCAJ8l4qMW8H1bqJHckIn07wIyotqkRqS/PWWGn/P5sYMRzUT8C3F6UP5/n6/f5kXksuowPs7+PuY29RBcSGvG6698cTP6oKSSm3/tf1wmdDbX+SPNFQxyUT+liNvEbk7qVgmVuZropiEy/xgHSd1YPZ0PRtK2bQpb//WrhOXDEbX62zSLBRCw6PnoB0VuAXq5Z3PcJlVWJHqoSyoXU6/e626in0/KF3fP5RRDgY3ZiV9Y8wATboEmJkzlBNQfjYsLk7QcZoZJRqtaFrY+ecCMMa8z3Hg9TTP7LhNOCf04rHuQ6raPP4UfNLRlsWeMdJEAnbswzcuwSNP3PdnbV5S4gmbgiKpEAUabNUUyBosrr7xQM8CAyLgkhnUAysOBNyITOgUfE6ElrMPXxxfVNOYxlOihSglqIEvCamSYuYKoFwpp6vMxUo5Bl7Yph52rG2nQo8D2vxKicLN1P7KDb9U72JVpHeqpXj2bTsm6P64DBxFny6178OUhO+8yqFgJ4yPQLwGz7hzm0IFe7afMKraJhd4oD8e4S1UZE4fMy/dLYXVnShHF8Tc+qszdjDBH+kZTnaM2wYEg/kyLcJCP0ljNrmA8ZO88UvCfa4uxjflThP7LnXKtSs=
file_glob: true
file: "build/distributions/Google AutoFactory Support-*.zip"
on:
tags: true
condition: $INTELLIJ_VERSION = latest
notifications:
email:
on_success: change
on_failure: always