Skip to content

Commit 42b5fdb

Browse files
authored
Merge pull request #84 from asebak/feature/fix-travis
update travis
2 parents e541338 + 1864511 commit 42b5fdb

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.travis.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
language: java
2-
jdk:
3-
- oraclejdk8
4-
cache:
5-
directories:
6-
- idea-IC
2+
3+
jdk: openjdk11
4+
5+
env:
6+
- IDEA_VERSION=2019.3.5
7+
8+
jobs:
9+
include:
10+
- stage: test
11+
script:
12+
- ./gradlew --console=plain check verifyPlugin
13+
- stage: release
14+
if: tag IS present
15+
script:
16+
- ./gradlew --console=plain buildPlugin

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ dependencies {
2929
testCompile files('lib/powermock-mockito-1.5.5-full.jar')
3030
}
3131

32+
def intellijVersion = System.getenv().getOrDefault("IDEA_VERSION", "2019.3.5")
33+
3234
intellij {
33-
version = '2019.3.5' //2019.3.5 or 213.7172.25
35+
version = intellijVersion
3436
type = 'IC'
3537
updateSinceUntilBuild = false
3638
plugins = ['java']

0 commit comments

Comments
 (0)