-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
46 lines (37 loc) · 1002 Bytes
/
.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
language: c
dist: xenial
matrix:
include:
- env: GHCVER=8.6.3 CABALVER=2.4.1.0
os: linux
sudo: required
- env: GHCVER=8.4.4 CABALVER=2.4.1.0
os: linux
sudo: required
- env: GHCVER=8.6.3 CABALVER=2.4.1.0
os: osx
addons:
apt:
packages:
- libnuma-dev
before_install:
- .ci/travis-install.sh
- export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH"
install:
- cabal v2-update
script:
- cabal v2-configure --enable-tests
- cabal v2-build -j all
- cabal v2-test -j all
cache:
directories:
- $HOME/.cabal/packages
- $HOME/.cabal/store
- $HOME/.cabal/bin
- $HOME/.ghcup
before_cache:
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/build-reports.log
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/00-index*
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index*
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/*.json
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/hackage-security-lock