@@ -39,13 +39,17 @@ before_script:
3939script:
4040 - |
4141 # Run tests
42− if [[ "$(uname)" -ne "Darwin" ]]; then
42+ if [[ "$(uname)" = "Linux" ]]; then
4343 stack --no-install-ghc --no-terminal test
44− else
44+ else #Darwin
4545 stack --no-install-ghc --system-ghc --no-terminal test
4646 fi
47− - if [[ "$(uname)" -ne "Darwin" ]]; then curl -sL https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh | sh -s lint src test examples --cpp-define VERSION_project_m36=HLINT; fi
48− - if [[ "$(uname)" -ne "Darwin" ]]; then stack --no-install-ghc haddock; fi
47+ - if [[ "$(uname)" = "Linux" ]]; then
48+ curl -sL https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh | sh -s lint src test examples --cpp-define VERSION_project_m36=HLINT
49+ fi
50+ - if [[ "$(uname)" = "Linux" ]]; then
51+ stack --no-install-ghc haddock
52+ fi
4953
5054after_success:
5155 - |