Skip to content
This repository was archived by the owner on Dec 15, 2018. It is now read-only.

Commit 0ea3902

Browse files
Gregor Tudanchkal
authored andcommitted
run testsuite on payara 5
1 parent 2f4b668 commit 0ea3902

File tree

5 files changed

+58
-0
lines changed

5 files changed

+58
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
env: TYPE=testsuite-wildfly
2020
before_script: .travis/docker-wildfly.sh
2121
script: mvn -P${TYPE} --projects testsuite clean verify
22+
- stage: test
23+
env: TYPE=testsuite-payara
24+
before_script: .travis/docker-payara.sh
25+
script: mvn -P${TYPE} --projects testsuite clean verify
2226
- stage: test
2327
env: TYPE=tck-glassfish
2428
script: .travis/tests.sh ${TYPE}

.travis/docker-payara.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env sh
2+
3+
set -eu
4+
5+
docker pull payara/server-web:5.183
6+
docker run --name=payara -d -p 8080:8080 -p 4848:4848 -it payara/server-web

testsuite/pom.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,5 +219,45 @@
219219
</plugins>
220220
</build>
221221
</profile>
222+
<profile>
223+
<id>testsuite-payara</id>
224+
225+
<properties>
226+
<skipITs>false</skipITs>
227+
</properties>
228+
229+
<dependencies>
230+
<dependency>
231+
<groupId>fish.payara.arquillian</groupId>
232+
<artifactId>arquillian-payara-server-4-remote</artifactId>
233+
<version>1.0.Beta3</version>
234+
<scope>test</scope>
235+
</dependency>
236+
<dependency>
237+
<groupId>org.mvc-spec.ozark</groupId>
238+
<artifactId>ozark-jersey</artifactId>
239+
<version>${project.version}</version>
240+
<scope>runtime</scope>
241+
</dependency>
242+
</dependencies>
243+
244+
<build>
245+
<plugins>
246+
<plugin>
247+
<artifactId>maven-failsafe-plugin</artifactId>
248+
<configuration>
249+
<skipITs>false</skipITs>
250+
<systemProperties>
251+
<arquillian.launch>payara</arquillian.launch>
252+
<testsuite.profile>testsuite-payara</testsuite.profile>
253+
<javax.net.ssl.trustStore>src/test/resources/payara-truststore.jks
254+
</javax.net.ssl.trustStore>
255+
<javax.net.ssl.trustStorePassword>changeit</javax.net.ssl.trustStorePassword>
256+
</systemProperties>
257+
</configuration>
258+
</plugin>
259+
</plugins>
260+
</build>
261+
</profile>
222262
</profiles>
223263
</project>

testsuite/src/test/resources/arquillian.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,12 @@
3434
</configuration>
3535
</container>
3636

37+
<container qualifier="payara">
38+
<configuration>
39+
<property name="adminHttps">true</property>
40+
<property name="adminUser">admin</property>
41+
<property name="adminPassword">admin</property>
42+
</configuration>
43+
</container>
44+
3745
</arquillian>
1004 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)