forked from 2mol/pboy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
63 lines (49 loc) · 1018 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
matrix:
include:
- language: nix
sudo: true
script: nix-build
- language: generic
sudo: false
os: osx
cache:
directories:
- $HOME/.stack
- $HOME/.local/bin
- "$TRAVIS_BUILD_DIR/.stack-work"
addons:
apt:
packages:
- libgmp-dev
before_install:
- sh tools/install-stack.sh
install:
- stack setup
- stack build --only-dependencies
script:
- stack build
after_success:
- sh tools/install-ghr.sh
- sh tools/attach-binary.sh
- language: generic
sudo: false
os: linux
cache:
directories:
- $HOME/.stack
- $HOME/.local/bin
- "$TRAVIS_BUILD_DIR/.stack-work"
addons:
apt:
packages:
- libgmp-dev
before_install:
- sh tools/install-stack.sh
install:
- stack setup
- stack build --only-dependencies
script:
- stack build
after_success:
- sh tools/install-ghr.sh
- sh tools/attach-binary.sh