Commit 17306dc5 authored by Moritz Angermann's avatar Moritz Angermann
Browse files

Install alex, happy; adjust path only on ghc/cabal path only on linux.

parent 59c09b8b
......@@ -5,7 +5,9 @@ os:
- osx
env:
- CABALVER=1.22 GHCVER=7.10.3
matrix:
linux:
- CABALVER=1.22 GHCVER=7.10.3
addons:
apt:
......@@ -20,10 +22,10 @@ addons:
before_install:
- if [ $TRAVIS_OS_NAME == osx ]; then brew update; fi
- if [ $TRAVIS_OS_NAME == osx ]; then brew install ghc cabal-install; fi
- if [ $TRAVIS_OS_NAME == osx ]; then cabal install alex happy; fi
- if [ $TRAVIS_OS_NAME == linux ]; then PATH="/opt/ghc/$GHCVER/bin:$PATH"; fi
- if [ $TRAVIS_OS_NAME == linux ]; then PATH="/opt/cabal/$CABALVER/bin:$PATH"; fi
- PATH="$HOME/.cabal/bin:$PATH"
- PATH="/opt/ghc/$GHCVER/bin:$PATH"
- PATH="/opt/cabal/$CABALVER/bin:$PATH"
- export PATH
- env
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment