Skip to content

Commit 679a0c2

Browse files
author
phasenraum2010
committed
fixed #43
1 parent 2d90915 commit 679a0c2

File tree

3 files changed

+93
-1
lines changed

3 files changed

+93
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ addons:
1010
- postgresql-client-10
1111
services:
1212
- postgresql
13+
- redis-server
14+
- neo4j
1315
before_install:
1416
- sudo apt-get update
1517
- sudo apt-get install language-pack-de
@@ -25,7 +27,7 @@ before_script:
2527
- psql -c 'select * from version();' -U postgres
2628
- psql -c 'select * from version();' -U kandidatentest
2729
sudo: false
28-
script: ./mvnw clean install jbake:generate site site:deploy -Ptravis -Dtest=AlphaTopLevelSuiteIT -B -V
30+
script: ./mvnw clean install jbake:generate site site:deploy -Ptravis -B -V
2931

3032

3133

defcon-parent/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,20 @@
605605
</plugins>
606606
</build>
607607
</profile>
608+
<profile>
609+
<id>travis</id>
610+
<build>
611+
<plugins>
612+
<plugin>
613+
<groupId>org.apache.maven.plugins</groupId>
614+
<artifactId>maven-surefire-plugin</artifactId>
615+
<configuration>
616+
<skipTests>true</skipTests>
617+
</configuration>
618+
</plugin>
619+
</plugins>
620+
</build>
621+
</profile>
608622
</profiles>
609623

610624
<!--

pom.xml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,82 @@
338338
</plugins>
339339
</build>
340340
</profile>
341+
<profile>
342+
<id>travis</id>
343+
<activation>
344+
<activeByDefault>true</activeByDefault>
345+
</activation>
346+
<build>
347+
<plugins>
348+
<plugin>
349+
<groupId>org.jbake</groupId>
350+
<artifactId>jbake-maven-plugin</artifactId>
351+
<executions>
352+
<execution>
353+
<id>default-generate</id>
354+
<phase>generate-resources</phase>
355+
<goals>
356+
<goal>generate</goal>
357+
</goals>
358+
</execution>
359+
</executions>
360+
<configuration>
361+
<seedUrl>https://github.com/phasenraum2010/jbake-example-project-thymeleaf/zipball/master/</seedUrl>
362+
<!--
363+
<inputDirectory>${project.basedir}/src/main/resources</inputDirectory>
364+
<outputDirectory>${project.build.directory}/classes</outputDirectory>
365+
-->
366+
</configuration>
367+
<dependencies>
368+
<dependency>
369+
<groupId>org.thymeleaf</groupId>
370+
<artifactId>thymeleaf</artifactId>
371+
<version>${thymeleaf.version}</version>
372+
</dependency>
373+
<dependency>
374+
<groupId>org.asciidoctor</groupId>
375+
<artifactId>asciidoctorj</artifactId>
376+
<version>${asciidoctorj.version}</version>
377+
</dependency>
378+
<dependency>
379+
<groupId>com.vladsch.flexmark</groupId>
380+
<artifactId>flexmark-all</artifactId>
381+
<version>${flexmark-all.version}</version>
382+
</dependency>
383+
<dependency>
384+
<groupId>org.apache.maven.doxia</groupId>
385+
<artifactId>doxia-module-markdown</artifactId>
386+
<version>${doxia-module-markdown.version}</version>
387+
</dependency>
388+
</dependencies>
389+
</plugin>
390+
<plugin>
391+
<groupId>org.apache.maven.plugins</groupId>
392+
<artifactId>maven-jar-plugin</artifactId>
393+
<configuration>
394+
<excludes>
395+
<exclude>**/less</exclude>
396+
<exclude>**/*.less</exclude>
397+
<exclude>**/assets</exclude>
398+
<exclude>**/assets/**</exclude>
399+
<exclude>**/content</exclude>
400+
<exclude>**/content/**</exclude>
401+
<exclude>**/templates</exclude>
402+
<exclude>**/templates/**</exclude>
403+
<exclude>**/template-draft.html</exclude>
404+
</excludes>
405+
</configuration>
406+
</plugin>
407+
<plugin>
408+
<groupId>org.apache.maven.plugins</groupId>
409+
<artifactId>maven-surefire-plugin</artifactId>
410+
<configuration>
411+
<skipTests>true</skipTests>
412+
</configuration>
413+
</plugin>
414+
</plugins>
415+
</build>
416+
</profile>
341417
</profiles>
342418

343419
<!--

0 commit comments

Comments
 (0)