Skip to content
This repository was archived by the owner on Mar 22, 2021. It is now read-only.

Commit a27dbbd

Browse files
committed
Only test stack build on Travis
1 parent 735de07 commit a27dbbd

File tree

1 file changed

+23
-11
lines changed

1 file changed

+23
-11
lines changed

.travis.yml

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
1-
sudo: false
1+
sudo: true
22
language: haskell
33

4-
# Speed builds up by caching install requirements
4+
git:
5+
depth: 5
6+
7+
cabal: "2.4"
8+
59
cache:
610
directories:
7-
- $HOME/.ghc
8-
- $HOME/.cabal
11+
- "$HOME/.cabal/store"
12+
- "$HOME/.stack"
13+
- "$TRAVIS_BUILD_DIR/.stack-work"
14+
15+
install:
16+
# HLint check
17+
- curl -sSL https://raw.github.com/ndmitchell/neil/master/misc/travis.sh | sh -s -- hlint .
18+
19+
- |
20+
curl -sSL https://get.haskellstack.org/ | sh
21+
stack --version
22+
stack build \
23+
--test \
24+
--no-run-tests \
25+
--ghc-options=-Werror
926
10-
ghc:
11-
- '8.0'
12-
- '8.2'
13-
- '8.4.4'
14-
- '8.6.5'
15-
- '8.8.3'
16-
- '8.10.1'
27+
script:
28+
- stack test

0 commit comments

Comments
 (0)