From 228b7d291f695638a7ef12ca0de8bbe5d2916ddc Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Thu, 5 Apr 2018 09:17:45 +0200 Subject: [PATCH] Install the newest version of dub to avoid random network failures --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 728f170..c1c1ce3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,6 +38,13 @@ matrix: - d: dmd env: CONFIG='select' DUB_FLAGS='--build unittest-cov --build-mode=singleFile' + +before_install: + # Use the dub-updating fork of the installer script until https://github.com/dlang/installer/pull/301 is merged + - wget https://raw.githubusercontent.com/wilzbach/installer-dub/master/script/install.sh -O ~/dlang/install.dub.sh + - . $(bash ~/dlang/install.dub.sh -a dub) + - dub --version + script: ./travis-ci.sh sudo: false