forked from crystal-lang-tools/intellij-crystal-lang
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (39 loc) · 1.22 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
language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
env:
global:
- ORG_GRADLE_PROJECT_downloadIdeaSources=true
matrix:
- ORG_GRADLE_PROJECT_ideaVersion=LATEST-EAP-SNAPSHOT
- ORG_GRADLE_PROJECT_ideaVersion=2018.2
matrix:
allow_failures:
- env: ORG_GRADLE_PROJECT_ideaVersion=LATEST-EAP-SNAPSHOT
# pull requests skip the deployment step
#deploy:
# # deploy master to the dev channel
# - provider: script
# skip_cleanup: true
# script: ORG_GRADLE_PROJECT_publishChannels=Dev ORG_GRADLE_PROJECT_version=1.14-dev$TRAVIS_BUILD_NUMBER ./gradlew publishPlugin --info
# on:
# branch: master
# condition: $ORG_GRADLE_PROJECT_ideaVersion=2017.1
# # deploy master to EAP channel
## - provider: script
## script: ORG_GRADLE_PROJECT_publishChannels=EAP ./gradlew publishPlugin
## on:
## branch: master
## condition: $ORG_GRADLE_PROJECT_ideaVersion=2017.1
# # deploy tags to default stable channel
# - provider: script
# script: ORG_GRADLE_PROJECT_version=$TRAVIS_TAG ./gradlew publishPlugin
# on:
# tags: true
# condition: $ORG_GRADLE_PROJECT_ideaVersion=2017.1