@@ -35,10 +35,9 @@ matrix:
3535install:
3636 - unset CC
3737 - export PATH=$HOME/.local/bin:/opt/ghc/$GHC_VERSION/bin:$PATH
38− - export GHC_VERSION
39− - ./.travis/install-ghr.sh
38+ - - ./.travis/install-ghr.sh
4039 - ./.travis/install-stack.sh
41− - ./.travis/install-ghc.sh
40+ - GHC_VERSION=$GHC_VERSION ./.travis/install-ghc.sh
4241
4342# Here starts the actual work to be performed for the package under test;
4443# any command which exits with a non-zero exit code causes the build to fail.