-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
37 lines (35 loc) · 1.15 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
language: generic
matrix:
include:
- os: linux
services:
- docker
script:
- |
bash -c "while true; do echo \$(date) - travis building ...; sleep 540; done" &
export PING_LOOP_PID=$!
- |
cat <<-EOF | docker run -i ubuntu bash -
set -e
export DEBIAN_FRONTEND=noninteractive
export CABALFLAGS=--ghc-option=-O0
apt-get update -qq && apt-get install -qq git curl build-essential
git clone https://github.com/asdf-vm/asdf.git
. asdf/asdf.sh
asdf plugin-test haskell https://github.com/vic/asdf-haskell.git 'ghc --help'
EOF
after_script:
- kill -9 $PING_LOOP_PID
- os: osx
env:
- "CABALFLAGS=--ghc-option=-O0"
before_script:
- git clone https://github.com/asdf-vm/asdf.git
- . asdf/asdf.sh
script:
- |
bash -c "while true; do echo \$(date) - travis building ...; sleep 540; done" &
export PING_LOOP_PID=$!
- asdf plugin-test haskell https://github.com/vic/asdf-haskell.git 'ghc --help'
after_script:
- kill -9 $PING_LOOP_PID