Skip to content

Commit 02d6965

Browse files
authored
Merge pull request #6 from tunnelvisionlabs/fix-builds
Fix builds
2 parents 385fac3 + a91aec0 commit 02d6965

File tree

3 files changed

+42
-19
lines changed

3 files changed

+42
-19
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This is the "optimized" fork of ANTLR 4, which contains many features and optimi
1010

1111
## Build Status
1212

13-
[![Build Travis-CI Status](https://travis-ci.org/sharwell/antlr4.svg?branch=optimized)](https://travis-ci.org/sharwell/antlr4)
13+
[![Build Travis-CI Status](https://travis-ci.org/tunnelvisionlabs/antlr4.svg?branch=master)](https://travis-ci.org/tunnelvisionlabs/antlr4) [![Build AppVeyor Status](https://ci.appveyor.com/api/projects/status/ba3jofc6j63wrl89/branch/master?svg=true)](https://ci.appveyor.com/project/sharwell/antlr4/branch/master)
1414

1515
[![codecov](https://codecov.io/gh/sharwell/antlr4/branch/optimized/graph/badge.svg)](https://codecov.io/gh/sharwell/antlr4)
1616

antlr4-maven-plugin/pom.xml

+38-15
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,44 @@
123123
</dependency>
124124

125125
</dependencies>
126-
126+
127+
<profiles>
128+
<profile>
129+
<id>maven-plugin-no-tests</id>
130+
<activation>
131+
<jdk>1.6</jdk>
132+
</activation>
133+
<properties>
134+
<skipTests>true</skipTests>
135+
</properties>
136+
</profile>
137+
138+
<profile>
139+
<id>maven-plugin-tests</id>
140+
<activation>
141+
<jdk>!1.6</jdk>
142+
</activation>
143+
<build>
144+
<plugins>
145+
<plugin>
146+
<groupId>io.takari.maven.plugins</groupId>
147+
<artifactId>takari-lifecycle-plugin</artifactId>
148+
<version>1.11.12</version>
149+
<executions>
150+
<execution>
151+
<id>testProperties</id>
152+
<phase>process-test-resources</phase>
153+
<goals>
154+
<goal>testProperties</goal>
155+
</goals>
156+
</execution>
157+
</executions>
158+
</plugin>
159+
</plugins>
160+
</build>
161+
</profile>
162+
</profiles>
163+
127164
<build>
128165

129166
<defaultGoal>install</defaultGoal>
@@ -183,20 +220,6 @@
183220
</configuration>
184221
</plugin>
185222

186-
<plugin>
187-
<groupId>io.takari.maven.plugins</groupId>
188-
<artifactId>takari-lifecycle-plugin</artifactId>
189-
<version>1.11.12</version>
190-
<executions>
191-
<execution>
192-
<id>testProperties</id>
193-
<phase>process-test-resources</phase>
194-
<goals>
195-
<goal>testProperties</goal>
196-
</goals>
197-
</execution>
198-
</executions>
199-
</plugin>
200223
</plugins>
201224

202225
</build>

appveyor.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
version: '4.6-SNAPSHOT+AppVeyor.{build}'
2-
os: Windows Server 2012
1+
version: '4.6.1-SNAPSHOT+AppVeyor.{build}'
2+
os: Visual Studio 2015
33
build_script:
44
- mvn -DskipTests install -q --batch-mode
55
test_script:
6-
- mvn install -q -Dantlr-python2-python="C:\Python27\python.exe" -Dantlr-python3-python="C:\Python35\python.exe" -Dantlr-javascript-nodejs="C:\Program Files (x86)\nodejs\node.exe" --batch-mode
6+
- mvn test -Dantlr.testinprocess=true -DJDK_SOURCE_ROOT=../runtime/Java/src -Dperformance.package= -q --batch-mode
77
build:
88
verbosity: minimal

0 commit comments

Comments
 (0)