Skip to content

Commit 84b8c4a

Browse files
authored
Merge pull request #21 from SeeSharpSoft/master
Release 1.6.0
2 parents 0f71382 + 5e088d3 commit 84b8c4a

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

.travis.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
language: java
22
jdk:
33
- oraclejdk8
4-
4+
55
env:
66
- IDEA_VERSION=IC-2016.3.2 GRAMMAR_KIT_VERSION=1.4.3
77
- IDEA_VERSION=IC-2017.3.2 GRAMMAR_KIT_VERSION=2017.1.2
8-
- IDEA_VERSION=LATEST-EAP-SNAPSHOT GRAMMAR_KIT_VERSION=2017.1.2
98

10-
script:
11-
- gradle check verifyPlugin
12-
139
after_success:
1410
- gradle jacocoTestReport coveralls
11+
12+
jobs:
13+
include:
14+
- if: (branch = master AND type = push) OR (type = pull_request)
15+
env: IDEA_VERSION=LATEST-EAP-SNAPSHOT GRAMMAR_KIT_VERSION=2017.1.2
16+
script: gradle check verifyPlugin
17+
- stage: deploy
18+
if: branch IN (Testing, Staging, Stable) AND type = push
19+
env: IDEA_VERSION=IC-2017.3.2 GRAMMAR_KIT_VERSION=2017.1.2 JI_CHANNELS=$TRAVIS_BRANCH
20+
script: gradle publishPlugin

build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,17 @@ idea {
6868
apply plugin: 'org.jetbrains.intellij'
6969
intellij {
7070
// IDE version - https://www.jetbrains.com/intellij-repository/releases
71-
version = System.getenv().getOrDefault('IDEA_VERSION', 'IC-2017.3.5')
71+
version = System.getenv().getOrDefault('IDEA_VERSION', 'IC-2018.1')
7272
pluginName = 'CSV Plugin'
7373
instrumentCode = true
7474
updateSinceUntilBuild = false
7575
downloadSources = false
7676
}
77+
publishPlugin {
78+
username = System.getenv().getOrDefault('JI_USER', '')
79+
password = System.getenv().getOrDefault('JI_PASSWORD', '')
80+
channels = [System.getenv().getOrDefault('JI_CHANNELS', 'Testing')]
81+
}
7782

7883
test {
7984
jacoco {
@@ -99,7 +104,7 @@ import org.jetbrains.grammarkit.tasks.GenerateParser
99104

100105
task generateCsvParser(type: GenerateParser) {
101106
source = 'src/main/java/net/seesharpsoft/intellij/plugins/csv/Csv.bnf'
102-
targetRoot 'gen'
107+
targetRoot = 'gen'
103108
pathToParser = '/net/seesharpsoft/intellij/plugins/csv/parser/CsvParser.java'
104109
pathToPsiRoot = '/net/seesharpsoft/intellij/plugins/csv/psi'
105110
purgeOldFiles = true

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# https://www.jetbrains.com/intellij-repository/snapshots
44

55
name='CSV Plugin'
6-
pluginVersion=1.6.1
6+
pluginVersion=1.6.0
77
javaVersion=1.8
88
javaTargetVersion=1.8
99
downloadIntellijSources=false

intellij-csv-validator.iml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<module external.linked.project.id="intellij-csv-validator" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="net.seesharpsoft.intellij.plugins" external.system.module.version="1.6.1" relativePaths="true" type="JAVA_MODULE" version="4">
2+
<module external.linked.project.id="intellij-csv-validator" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="net.seesharpsoft.intellij.plugins" external.system.module.version="1.6.0" relativePaths="true" type="JAVA_MODULE" version="4">
33
<component name="NewModuleRootManager" inherit-compiler-output="true">
44
<exclude-output />
55
<content url="file://$MODULE_DIR$">

0 commit comments

Comments
 (0)