This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git


The following commit(s) were added to refs/heads/master by this push:
     new 681754d  [MRESOLVER-48] Add Travis CI default configuration for Java 
7, 8, 10
681754d is described below

commit 681754d83a7f77941390e5440ecbc4cb6d811968
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Fri Jul 13 21:53:17 2018 +0200

    [MRESOLVER-48] Add Travis CI default configuration for Java 7, 8, 10
---
 .travis.yml | 29 +++++++++++++++++++++++++++++
 pom.xml     |  1 +
 2 files changed, 30 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..0a58cab
--- /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 edaad98..7b8d642 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>

Reply via email to