forked from f-o-a-m/hs-web3
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
64 lines (57 loc) · 1.42 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
sudo: false
language: cpp
# Caching so the next build will be fast too.
cache:
directories:
- $HOME/.stack
- $TRAVIS_BUILD_DIR/.stack-work
# The different configurations we want to test.
matrix:
# Build with different GHC versions and stable package sets
include:
- env: RESOLVER=lts-11
compiler: "LTS11"
- env: RESOLVER=lts-12
compiler: "LTS12"
- env: RESOLVER=lts-13
compiler: "LTS13"
- env: RESOLVER=lts-14
compiler: "LTS14"
- env: RESOLVER=nightly
compiler: "nightly"
- env: RESOLVER=lts-11
compiler: "LTS11"
os: osx
- env: RESOLVER=lts-12
compiler: "LTS12"
os: osx
- env: RESOLVER=lts-13
compiler: "LTS13"
os: osx
- env: RESOLVER=lts-14
compiler: "LTS14"
os: osx
- env: RESOLVER=nightly
compiler: "nightly"
os: osx
- env: RESOLVER=lts-11
compiler: "LTS11"
os: windows
- env: RESOLVER=lts-12
compiler: "LTS12"
os: windows
- env: RESOLVER=lts-13
compiler: "LTS13"
os: windows
- env: RESOLVER=lts-14
compiler: "LTS14"
os: windows
- env: RESOLVER=nightly
compiler: "nightly"
os: windows
before_install:
- if [[ $TRAVIS_OS_NAME == 'windows' ]]; then choco install haskell-stack; else curl -sSL https://get.haskellstack.org/ | sh; fi
install:
- travis_wait 180 stack build --no-terminal --haddock --no-haddock-deps --resolver $RESOLVER
script:
- stack test web3:unit --no-terminal --resolver $RESOLVER