File tree Expand file tree Collapse file tree 5 files changed +46
-11
lines changed Expand file tree Collapse file tree 5 files changed +46
-11
lines changed Original file line number Diff line number Diff line change 1+ sudo : false
2+ language : java
3+ jdk :
4+ - oraclejdk8
5+ script :
6+ - test/run-travis.sh
Original file line number Diff line number Diff line change 8888 <groupId >org.springframework.boot</groupId >
8989 <artifactId >spring-boot-starter-mobile</artifactId >
9090 </dependency >
91- <!--
92- <dependency>
93- <groupId>org.springframework.boot</groupId>
94- <artifactId>spring-boot-starter-validation</artifactId>
95- </dependency>
96- <dependency>
97- <groupId>org.springframework.boot</groupId>
98- <artifactId>spring-boot-starter-hateoas</artifactId>
99- </dependency>
100- -->
10191 <dependency >
10292 <groupId >org.springframework.boot</groupId >
10393 <artifactId >spring-boot-starter-logging</artifactId >
214204 <phase >package</phase >
215205 <goals >
216206 <!-- use copy-dependencies instead if you don't want to explode the sources -->
217- <goal >unpack -dependencies</goal >
207+ <goal >copy -dependencies</goal >
218208 </goals >
219209 <configuration >
220210 <classifier >sources</classifier >
455445 </plugins >
456446 </build >
457447 </profile >
448+
449+ <profile >
450+ <id >travis</id >
451+ <build >
452+ <plugins >
453+
454+ <plugin >
455+ <groupId >org.apache.maven.plugins</groupId >
456+ <artifactId >maven-surefire-plugin</artifactId >
457+ <configuration >
458+ <systemPropertyVariables >
459+ <spring .profiles.active>travis</spring .profiles.active>
460+ </systemPropertyVariables >
461+ </configuration >
462+ </plugin >
463+
464+ </plugins >
465+ </build >
466+ </profile >
467+
458468 </profiles >
459469
460470
Original file line number Diff line number Diff line change @@ -338,5 +338,10 @@ spring:
338338 profiles : testing
339339 datasource :
340340 url : ${DATABASE_URL_TEST}
341+ ---
342+ spring :
343+ profiles : travis
344+ datasource :
345+ url : ${DATABASE_URL_TEST}
341346
342347
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ cd $( dirname $0 )
4+
5+ cd ..
6+
7+ ./mvnw clean package install site site:deploy -Ptesting
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ cd $( dirname $0 )
4+
5+ cd ..
6+
7+ ./mvnw clean package install site site:deploy -Ptravis
You can’t perform that action at this time.
0 commit comments