on master help sign in
move GHC_VERSION to install-ghc line
1fd57fcAgentM
.travis.yml+2−3
@@ -35,10 +35,9 @@ matrix:
35install:
35install:
36 - unset CC
36 - unset CC
37 - export PATH=$HOME/.local/bin:/opt/ghc/$GHC_VERSION/bin:$PATH
37 - 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
40 - ./.travis/install-stack.sh
39 - ./.travis/install-stack.sh
41− - ./.travis/install-ghc.sh
40+ - GHC_VERSION=$GHC_VERSION ./.travis/install-ghc.sh
42
41
43# Here starts the actual work to be performed for the package under test;
42# Here starts the actual work to be performed for the package under test;
44# any command which exits with a non-zero exit code causes the build to fail.
43# any command which exits with a non-zero exit code causes the build to fail.