fix idea version in travis build
+os: linux
+jdk: openjdk11
language: java
matrix:
include:
- - os: linux
- jdk: openjdk11
- env: PLUGIN_IDEA_VERSION=IU-2020.1.4
- - os: linux
- jdk: openjdk11
- env: PLUGIN_IDEA_VERSION=IU-2020.2.3
- - os: linux
- jdk: openjdk11
- env: PLUGIN_IDEA_VERSION=IU-LATEST-EAP-SNAPSHOT
+ - name: IDEA IU-2020.1.4
+ script: ./gradlew clean buildPlugin test verifyPlugin --warning-mode all -PpluginDownloadIdeaSources=false -PpluginIdeaVersion=IU-2020.1.4
+ - name: IDEA IU-2020.2.3
+ script: ./gradlew clean buildPlugin test verifyPlugin --warning-mode all -PpluginDownloadIdeaSources=false -PpluginIdeaVersion=IU-2020.2.3
+ - name: IDEA IU-LATEST-EAP-SNAPSHOT
+ script: ./gradlew clean buildPlugin test verifyPlugin --warning-mode all -PpluginDownloadIdeaSources=false -PpluginIdeaVersion=IU-LATEST-EAP-SNAPSHOT
allow_failures:
- - env: PLUGIN_IDEA_VERSION=IU-LATEST-EAP-SNAPSHOT
+ - env: IDEA_VERSION=IU-LATEST-EAP-SNAPSHOT
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
+
cache:
directories:
- $HOME/.gradle/caches/
@@ -25,5 +25,3 @@ git:
before_install:
- chmod +x gradlew
-
-script: "./gradlew clean buildPlugin test verifyPlugin --warning-mode all -PpluginDownloadIdeaSources=false"
