Set path earlier
authorJoachim Breitner <mail@joachim-breitner.de>
Thu, 15 Oct 2015 22:09:45 +0000 (22:09 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Thu, 15 Oct 2015 22:09:45 +0000 (22:09 +0000)
.travis.yml

index 6a0753d..6a3bcab 100644 (file)
@@ -13,9 +13,9 @@ matrix:
 
 # Note: the distinction between `before_install` and `install` is not important.
 before_install:
+ - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
  - if [ "$WINDOWS" = yes ]; then export W=wine; else export W=""; fi
  - if [ "$WINDOWS" = yes ]; then bash ./.travis-setup-windows.sh; else bash ./.travis-setup-linux.sh; fi
- - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
 
 install:
  - true