You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2020/02/18 00:16:19 UTC
[commons-geometry] 06/08: Add profile for the examples module.
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git
commit b1a4c41ace3c83b0c502e82df5051d87a06dc7fe
Author: Alex Herbert <a....@sussex.ac.uk>
AuthorDate: Mon Feb 17 23:56:05 2020 +0000
Add profile for the examples module.
Ensure rat:check and checkstyle:check are run by travis.
---
.travis.yml | 4 ++++
pom.xml | 10 ++++++++++
2 files changed, 14 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 1929bfd..9eea521 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,5 +24,9 @@ jdk:
- openjdk13
- openjdk-ea
+script:
+ - mvn
+ - mvn -P commons-geometry-examples --projects commons-geometry-examples verify apache-rat:check checkstyle:check
+
after_success:
- mvn jacoco:report coveralls:report
diff --git a/pom.xml b/pom.xml
index f7397ff..076e2c5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -596,6 +596,16 @@
</build>
</profile>
+ <!--
+ Profiles for modules with special requirements.
+ -->
+ <profile>
+ <id>commons-geometry-examples</id>
+ <modules>
+ <module>commons-geometry-examples</module>
+ </modules>
+ </profile>
+
</profiles>
<developers>