From 188f35777600581581482fca2469b43e5cdb0282 Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Fri, 7 Oct 2016 17:48:40 -0500 Subject: [PATCH] Revert .travis.yml back to sudo: false w/ workaround For some reason calling chmod this way TravisCI is fine with. This way the build is back to using the faster container-based infrastructure. --- .travis.yml | 7 +++++-- scripts/install-coursier.sh | 3 --- 2 files changed, 5 insertions(+), 5 deletions(-) delete mode 100755 scripts/install-coursier.sh diff --git a/.travis.yml b/.travis.yml index dc33b61f1a..a25fba9574 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ -sudo: true +# opt-in to TravisCI's faster container-based infrastructure +sudo: false language: ruby rvm: 2.0.0 @@ -7,9 +8,11 @@ rvm: 2.0.0 # will kick in and use `vendor`, ignoring our BUNDLE_PATH # declaration in `.bundle/config` install: -- ./scripts/install-coursier.sh +- curl -L -o coursier https://git.io/vgvpD - bundle install +before_script: chmod +x coursier + script: - ./scripts/run-tut.sh - rm -r tut-tmp diff --git a/scripts/install-coursier.sh b/scripts/install-coursier.sh deleted file mode 100755 index b0440f0f62..0000000000 --- a/scripts/install-coursier.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -curl -L -o coursier https://git.io/vgvpD -chmod +x coursier