@@ -23,16 +23,11 @@ matrix:
23 compiler: ": #stack 8.0.2"
23 compiler: ": #stack 8.0.2"
24 addons: {apt: {packages: [ghc-8.0.2], sources: [hvr-ghc]}}
24 addons: {apt: {packages: [ghc-8.0.2], sources: [hvr-ghc]}}
26− - env: CACHE_NAME=osx-7.10.3 STACK_YAML=stack.ghc7.10.yaml
29− compiler: ": #stack 7.10.3"
31 - env: CACHE_NAME=osx-8.0.2 STACK_YAML=stack.yaml
26 - env: CACHE_NAME=osx-8.0.2 STACK_YAML=stack.yaml
33 compiler: ": #stack 8.0.2"
28 compiler: ": #stack 8.0.2"
35−install:
30+before_script:
36 - unset CC
31 - unset CC
37 - export PATH=$HOME/.local/bin:/opt/ghc/$GHC_VERSION/bin:$PATH
32 - export PATH=$HOME/.local/bin:/opt/ghc/$GHC_VERSION/bin:$PATH
38 - ./.travis/install-ghr.sh
33 - ./.travis/install-ghr.sh
@@ -44,12 +39,21 @@ install:
46 # Run tests
41 # Run tests
47− if [ "$(uname)" = "Darwin" ]; then
42+ if [[ "$(uname)" = "Linux" ]]; then
48− stack --no-install-ghc --no-terminal test
43+ stack --no-install-ghc --no-terminal --system-ghc test
50 stack --no-install-ghc --system-ghc --no-terminal test
45 stack --no-install-ghc --system-ghc --no-terminal test
49+ if [[ "$(uname)" = "Linux" ]]; then
50+ curl -sL https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh | sh -s lint src test examples --cpp-define VERSION_project_m36=HLINT
54+ if [[ "$(uname)" = "Linux" ]]; then
55+ stack --no-install-ghc --system-ghc --no-haddock-deps haddock
54after_success:
58after_success: