From 48c66abbde928f53a0ff74f183371e613de16063 Mon Sep 17 00:00:00 2001 From: Ben Taylor <ben.taylor@sanger.ac.uk> Date: Thu, 11 Jun 2015 16:36:16 +0100 Subject: [PATCH] Move dependencies to ${HOME}/dependencies ant builds copy everything in the pwd into ant_build and then try to build all of the java files copied, including those of the dependencies which are built separately. This does not end well. --- .travis.yml | 2 +- install_dependencies.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 91a4f6fb7..1a9e65665 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ jdk: sudo: false cache: directories: - - "build" + - "${HOME}/dependencies" before_install: - "export CASHER_TIME_OUT=300" - "export DISPLAY=:99.0" diff --git a/install_dependencies.sh b/install_dependencies.sh index 5c6b512ab..2e6eb18c1 100644 --- a/install_dependencies.sh +++ b/install_dependencies.sh @@ -10,10 +10,10 @@ EMBOSS_VERSION="6.6.0" EMBOSS_DOWNLOAD_URL="ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-${EMBOSS_VERSION}.tar.gz" # Make an install location -if [ ! -d 'build' ]; then - mkdir build +if [ ! -d "${HOME}/dependencies" ]; then + mkdir ${HOME}/dependencies fi -cd build +cd ${HOME}/dependencies build_dir=$(pwd) # DOWNLOAD ALL THE THINGS -- GitLab