git.iko.soy/typeable/servant
on pr610 help sign in
typeable/servant/.travis.yml
30 lines 840 B history raw
1sudo: false
3language: c
5env:
6 - STACK_YAML=stack-ghc-7.8.4.yaml
7 - STACK_YAML=stack.yaml
8 - STACK_YAML=stack-ghc-8.0.1.yaml
10addons:
11 apt:
12 packages:
13 - libgmp-dev
15install:
16 - mkdir -p ~/.local/bin
17 - export PATH=$HOME/.local/bin:$PATH
18 - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
19 - stack --version
20 - stack setup --no-terminal
21 - (cd $HOME/.local/bin && wget https://zalora-public.s3.amazonaws.com/tinc && chmod +x tinc)
22 - if [ "$STACK_YAML" = "stack.yaml" ] ; then (cd servant-client/test/ghcjs/ && ./run-tests.sh) ; fi
24script:
25 - if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then ./scripts/ci-cron.sh ; else stack test --ghc-options=-Werror --no-terminal ; fi
27cache:
28 directories:
29 - $HOME/.tinc/cache
30 - $HOME/.stack