diff --git a/.travis.yml b/.travis.yml index 1ee4e70..51e4e2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,7 @@ install: resf="ghc-$GHCVER.yaml" echo "resolver: ghc-$GHCVER" > "$resf" echo "packages: ['.']" >> "$resf" - stack --no-terminal solver --update-config --stack-yaml="$resf" + stack --no-terminal solver --update-config --stack-yaml="$resf" || exit 101 sed -i 's/^resolver:/compiler:/;s/^extra-deps:/packages:/' "$resf" echo "resolver: { name: 'ghc-$GHCVER', location: './$resf' }" > stack.yaml echo "packages: ['.']" >> stack.yaml