You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2017/09/22 15:06:56 UTC

[1/2] commons-cli git commit: .travis.yml: install open-jdk6, as it was removed from the default image

Repository: commons-cli
Updated Branches:
  refs/heads/master 61ed8faec -> 282bdb621


.travis.yml: install open-jdk6, as it was removed from the default image

(see https://github.com/travis-ci/travis-ci/issues/8199)


Project: http://git-wip-us.apache.org/repos/asf/commons-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-cli/commit/9bdb3dbe
Tree: http://git-wip-us.apache.org/repos/asf/commons-cli/tree/9bdb3dbe
Diff: http://git-wip-us.apache.org/repos/asf/commons-cli/diff/9bdb3dbe

Branch: refs/heads/master
Commit: 9bdb3dbe184a8a481bf6e8b26167e462c29f4ad8
Parents: 61ed8fa
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Thu Sep 21 21:06:48 2017 +0200
Committer: Pascal Schumacher <pa...@gmx.net>
Committed: Thu Sep 21 21:06:48 2017 +0200

----------------------------------------------------------------------
 .travis.yml | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-cli/blob/9bdb3dbe/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index f9d9265..9c54708 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,6 +16,11 @@
 language: java
 sudo: false
 
+addons:
+  apt:
+    packages:
+      - openjdk-6-jdk
+
 jdk:
   - openjdk6
   - openjdk7


[2/2] commons-cli git commit: .travis.yml: install java 6 compatible maven version

Posted by ch...@apache.org.
.travis.yml: install java 6 compatible maven version


Project: http://git-wip-us.apache.org/repos/asf/commons-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-cli/commit/282bdb62
Tree: http://git-wip-us.apache.org/repos/asf/commons-cli/tree/282bdb62
Diff: http://git-wip-us.apache.org/repos/asf/commons-cli/diff/282bdb62

Branch: refs/heads/master
Commit: 282bdb6216776f6585e543a8d41f42b7102f51bd
Parents: 9bdb3db
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Thu Sep 21 21:17:08 2017 +0200
Committer: Pascal Schumacher <pa...@gmx.net>
Committed: Thu Sep 21 21:52:38 2017 +0200

----------------------------------------------------------------------
 .travis.yml | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-cli/blob/282bdb62/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 9c54708..6abfbad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,13 @@ addons:
     packages:
       - openjdk-6-jdk
 
+# use java 6 compatible maven version (installed into target directory so rat check passes)
+before_install:
+  - wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip -P ./target
+  - unzip -qq ./target/apache-maven-3.2.5-bin.zip -d ./target
+  - export M2_HOME=$PWD/target/apache-maven-3.2.5
+  - export PATH=$M2_HOME/bin:$PATH
+
 jdk:
   - openjdk6
   - openjdk7