maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MRESOLVER-48) Add default Travis CI configuration for Java 7, 8, 10
Date Sun, 22 Jul 2018 21:35:00 GMT

    [ https://issues.apache.org/jira/browse/MRESOLVER-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16552172#comment-16552172
] 

ASF GitHub Bot commented on MRESOLVER-48:
-----------------------------------------

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


> Add default Travis CI configuration for Java 7, 8, 10
> -----------------------------------------------------
>
>                 Key: MRESOLVER-48
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-48
>             Project: Maven Resolver
>          Issue Type: Improvement
>          Components: resolver
>            Reporter: Sylwester Lachiewicz
>            Assignee: Michael Osipov
>            Priority: Minor
>             Fix For: Maven Artifact Resolver 1.1.2
>
>
> Add default .travis.yml file for easier testing with Travis CI in forked repositories
> Currently Jenkins infra is available only to ASF members. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message