Travis: fix path to ensure that installed ghc is first in path.

This commit is contained in:
John MacFarlane 2017-12-08 16:34:28 -08:00
parent 67b6abc806
commit bd1713a21b

View file

@ -87,7 +87,7 @@ matrix:
before_install:
# Using compiler above sets CC to an invalid value, so unset it
- unset CC
- export PATH=$PATH:/opt/happy/1.19.5/bin/:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.local/bin:$HOME/.cabal/bin
- export PATH=/opt/happy/1.19.5/bin/:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.local/bin:$HOME/.cabal/bin:$PATH
# Download and unpack the stack executable
- |
if [[ $BUILD == "stack" ]]; then