You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2018/07/22 21:34:49 UTC

[GitHub] slachiewicz closed pull request #19: [MRESOLVER-48] Add Travis CI default configuration for Java 7, 8, 10

slachiewicz closed pull request #19: [MRESOLVER-48] Add Travis CI default configuration for Java 7, 8, 10
URL: https://github.com/apache/maven-resolver/pull/19
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..0a58cab8
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,29 @@
+language: java
+
+sudo: false
+dist: trusty
+
+matrix:
+  include:
+    - os: linux
+      jdk: openjdk7
+    - os: linux
+      jdk: openjdk8
+    - os: linux
+      jdk: openjdk10
+
+before_install:
+# https://github.com/travis-ci/travis-ci/issues/8408
+  - unset _JAVA_OPTIONS
+
+install: mvn clean dependency:go-offline -V
+
+before_script: true
+
+script:
+  - mvn verify
+
+cache:
+  directories:
+  - "$HOME/.cache"
+  - "$HOME/.m2"
diff --git a/pom.xml b/pom.xml
index edaad986..7b8d6428 100644
--- a/pom.xml
+++ b/pom.xml
@@ -351,6 +351,7 @@
               <exclude>src/test/resources/**/*.ini</exclude>
               <exclude>src/test/resources/**/*.txt</exclude>
               <exclude>src/test/resources/ssl/*-store</exclude>
+              <exclude>.travis.yml</exclude>
             </excludes>
           </configuration>
         </plugin>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services