From 5e13367ee3c995a5881dbc0a7f86072b15996020 Mon Sep 17 00:00:00 2001 From: Maxime Garcia Date: Wed, 23 May 2018 14:23:42 +0200 Subject: [PATCH 1/4] add apt-get update --- scripts/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install.sh b/scripts/install.sh index 197ce902ef..f0dc772a91 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -29,6 +29,7 @@ fi if [[ "$TOOL" = singularity ]] || [[ "$TOOL" = all ]] then sudo apt-get install squashfs-tools + sudo apt-get update cd $HOME wget https://github.com/singularityware/singularity/releases/download/$SGT_VER/singularity-$SGT_VER.tar.gz tar xvf singularity-$SGT_VER.tar.gz From 83c1ea1afc93c9889a8850700a1e7cf8ff125ed1 Mon Sep 17 00:00:00 2001 From: Maxime Garcia Date: Wed, 23 May 2018 14:30:27 +0200 Subject: [PATCH 2/4] enable apt-get update --- .travis.yml | 4 ++++ scripts/install.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 43217b918c..7632ac2e11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,10 @@ jdk: openjdk8 services: - docker +addons: + apt: + sudo apt-get update + env: global: - NXF_VER=0.27.0 SGT_VER=2.4.2 diff --git a/scripts/install.sh b/scripts/install.sh index f0dc772a91..9a71b033a9 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -28,8 +28,8 @@ fi # Install Singularity if [[ "$TOOL" = singularity ]] || [[ "$TOOL" = all ]] then - sudo apt-get install squashfs-tools sudo apt-get update + sudo apt-get install squashfs-tools cd $HOME wget https://github.com/singularityware/singularity/releases/download/$SGT_VER/singularity-$SGT_VER.tar.gz tar xvf singularity-$SGT_VER.tar.gz From 29c05ef0f6364378c1ff08d31908155722a11338 Mon Sep 17 00:00:00 2001 From: Maxime Garcia Date: Mon, 28 May 2018 15:59:06 +0200 Subject: [PATCH 3/4] fix typo --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7632ac2e11..2adb1d0303 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ services: addons: apt: - sudo apt-get update + update: true env: global: From e81e1dd795e376f89928d1b47e3fff9c539226eb Mon Sep 17 00:00:00 2001 From: Maxime Garcia Date: Mon, 28 May 2018 16:32:52 +0200 Subject: [PATCH 4/4] remove sudo apt-get update --- scripts/install.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index fda4556b4d..66e1daa1c7 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -30,7 +30,6 @@ fi # Install Singularity if [[ "$TOOL" = singularity ]] || [[ "$TOOL" = all ]] then - sudo apt-get update sudo apt-get install squashfs-tools cd $HOME wget https://github.com/singularityware/singularity/releases/download/$SGT_VER/singularity-$SGT_VER.tar.gz