forked from yesodweb/persistent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (40 loc) · 1.21 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
sudo: enabled
language: generic
addons:
apt:
packages:
- libgmp-dev
postgresql: "9.6"
services:
- mongodb
- mysql
- redis-server
matrix:
include:
- env: ARGS="--resolver lts-6" BACKEND=none
- env: ARGS="--resolver lts-7" BACKEND=none
- env: ARGS="--resolver lts-9" BACKEND=none
- env: ARGS="--resolver lts-10" BACKEND=none
- env: ARGS="--resolver lts-9" BACKEND=sqlite
- env: ARGS="--resolver lts-9" BACKEND=mongodb
- env: ARGS="--resolver lts-9" BACKEND=postgresql
- env: ARGS="--resolver lts-9" BACKEND=mysql
- env: ARGS="--resolver lts-10" BACKEND=sqlite
- env: ARGS="--resolver lts-10" BACKEND=mongodb
- env: ARGS="--resolver lts-10" BACKEND=postgresql
- env: ARGS="--resolver lts-10" BACKEND=mysql
before_install:
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
script: travis/run.sh
cache:
directories:
- $HOME/.stack
# zookeeper doesn't seem to work any more
# matrix:
# - env: GHCVER=X CABALVER=Y BACKEND=zookeeper
# packages:
# - libzookeeper-mt-dev
# - zookeeperd