File tree Expand file tree Collapse file tree 1 file changed +10
-28
lines changed Expand file tree Collapse file tree 1 file changed +10
-28
lines changed Original file line number Diff line number Diff line change 1
1
sudo : true
2
- language : haskell
2
+ language : generic
3
3
4
4
git :
5
5
depth : 5
6
6
7
- cabal : " 3.0"
8
-
9
7
cache :
10
8
directories :
11
- - " $HOME/.cabal/store"
12
9
- " $HOME/.stack"
13
- - " $TRAVIS_BUILD_DIR/.stack-work"
14
10
15
11
matrix :
16
12
include :
17
- - ghc : 8.2.2
18
- - ghc : 8.4.4
19
- - ghc : 8.6.5
20
- - ghc : 8.8.3
21
- - ghc : 8.10.1
22
-
23
- - ghc : 8.8.3
24
- env : STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml"
13
+ - env : GHC='8.8.3'
14
+ os : linux
15
+ - env : GHC='8.8.3'
16
+ os : osx
25
17
26
18
install :
27
- - |
28
- if [ -z "$STACK_YAML" ]; then
29
- cabal update
30
- cabal build --enable-tests --enable-benchmarks
31
- else
32
- curl -sSL https://get.haskellstack.org/ | sh
33
- stack --version
34
- stack build --system-ghc --test --no-run-tests
35
- fi
19
+ # install stack and build project
20
+ - curl -sSL https://get.haskellstack.org/ | sh
21
+ - stack --version
22
+ - stack build --test --no-run-tests --bench --no-run-benchmarks
36
23
37
24
script :
38
- - |
39
- if [ -z "$STACK_YAML" ]; then
40
- cabal test --enable-tests
41
- else
42
- stack build --system-ghc --test --bench --no-run-benchmarks --no-terminal --ghc-options=-Werror
43
- fi
25
+ - stack test --no-terminal
44
26
45
27
notifications :
46
28
email : false
You can’t perform that action at this time.
0 commit comments