Repository: reef
Updated Branches:
  refs/heads/master 71282d3b7 -> e0c0d6a49


[REEF-1313] Change ProtocolBuffer download URL in Travis.CI setup

GoogleCode site will shut down this year, but Travis.CI script still uses
`https://protobuf.googlecode.com`. Our recent .NET CI on Appveyor is already
using new Github download links. This PR changes Travis.CI configuration
according to Appvoyer configuration.

It also removes setting for repository clone depth which we're not using.

JIRA:
  [REEF-1313](https://issues.apache.org/jira/browse/REEF-1313)

Pull request:
  This closes #924


Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/e0c0d6a4
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/e0c0d6a4
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/e0c0d6a4

Branch: refs/heads/master
Commit: e0c0d6a49acaa101ea49cb7c728a3ee23993d467
Parents: 71282d3
Author: Dongjoon Hyun <[email protected]>
Authored: Mon Apr 4 17:15:32 2016 -0700
Committer: Mariia Mykhailova <[email protected]>
Committed: Tue Apr 5 11:15:39 2016 -0700

----------------------------------------------------------------------
 .travis.yml                        | 7 ++-----
 dev/travis-install-dependencies.sh | 4 ++--
 2 files changed, 4 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/reef/blob/e0c0d6a4/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 3ddf0dc..fe414a4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,20 +17,17 @@ sudo: false
 
 language: java
 
-git:
-  depth: 150
-
 jdk:
   - oraclejdk7
   - oraclejdk8
   - openjdk7
 
-env: PATH=$PATH:$HOME/local/bin
+env: PATH=$PATH:$HOME/tools/bin
 
 cache:
   directories:
   - $HOME/.m2
-  - $HOME/local
+  - $HOME/tools
 
 notifications:
   email: false

http://git-wip-us.apache.org/repos/asf/reef/blob/e0c0d6a4/dev/travis-install-dependencies.sh
----------------------------------------------------------------------
diff --git a/dev/travis-install-dependencies.sh 
b/dev/travis-install-dependencies.sh
index 4fb7eb1..37cca7c 100755
--- a/dev/travis-install-dependencies.sh
+++ b/dev/travis-install-dependencies.sh
@@ -17,7 +17,7 @@
 # limitations under the License.
 
 PROTOBUF_VERSION=2.5.0
-INSTALL=${HOME}/local
+INSTALL=${HOME}/tools
 
 if [ ! -d ${INSTALL} ]; then
   echo "mkdir -p ${INSTALL}"
@@ -28,7 +28,7 @@ if [ ! -f ${INSTALL}/bin/protoc ]; then
   cd ${INSTALL}
   echo "Fetching protobuf"
   N="protobuf-${PROTOBUF_VERSION}"
-  wget -q https://protobuf.googlecode.com/files/${N}.tar.gz
+  wget -q 
https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/${N}.tar.gz
   tar -xzvf ${N}.tar.gz > /dev/null
   rm ${N}.tar.gz
 

Reply via email to