-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (32 loc) · 920 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
---
# Travis builds are run in Arch Linux docker containers so we have access to
# gcc8: https://github.com/mikkeloscar/arch-travis
os: linux
dist: xenial
language: generic
cache:
directories:
- $HOME/.stack
addons:
apt:
packages:
- libgmp-dev
services:
- docker
archlinux:
packages:
- avr-binutils
- avr-gcc
- avr-libc
- make
script:
- make all
before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
- cd ui; stack --no-terminal --install-ghc test --only-dependencies
script:
- cd ui; stack --no-terminal build -j2; cd ..
- "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"