-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
27 lines (25 loc) · 928 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
sudo: false
cache:
directories:
- $HOME/hlint
before_install:
- travis_retry cabal-$CABALVER update
- export PATH=/opt/ghc/$GHCVER/bin:/opt/happy/1.19.5/bin:/opt/alex/3.1.4/bin:~/hlint/bin:$PATH
- travis/install-hlint.sh
install:
- cabal-$CABALVER sandbox init
- git clone -b develop https://github.com/ryantrinkle/reflex reflex
- cabal-$CABALVER sandbox add-source $PWD/reflex
- cabal-$CABALVER install -v --only-dependencies --enable-tests --enable-benchmarks -j
script:
- travis/script.sh
- hlint src
matrix:
allow_failures:
- env: CABALVER=head GHCVER=head
include:
- env: CABALVER=1.22 GHCVER=7.10.2
addons: {apt: {packages: [freeglut3-dev, cabal-install-1.22, ghc-7.10.2, alex-3.1.4, happy-1.19.5],sources: [hvr-ghc]}}
- env: CABALVER=head GHCVER=head
addons: {apt: {packages: [cabal-install-head, ghc-head, alex-3.1.4, happy-1.19.5], sources: [hvr-ghc]}}
fast_finish: true