git.iko.soy/typeable/bloodhound
on aeson-0.10 help sign in
typeable/bloodhound/.travis.yml
45 lines 1.6 kB history raw
1# NB: don't set `language: haskell` here
3# See also https://github.com/hvr/multi-ghc-travis for more information
5# The following lines enable several GHC versions and/or HP versions
6# to be tested; often it's enough to test only against the last
7# release of a major GHC version. Setting HPVER implictly sets
8# GHCVER. Omit lines with versions you don't need/want testing for.
9env:
10 # - GHCVER=7.6.3 ESVER=1.6.0 # Deprecated
11 # - GHCVER=7.8.3 ESVER=1.0.3 # Deprecated
12 # - GHCVER=7.8.3 ESVER=1.1.2 # Deprecated
13 - GHCVER=7.8 ESVER=1.2.4
14 - GHCVER=7.8 ESVER=1.3.6
15 - GHCVER=7.8 ESVER=1.4.1
16 - GHCVER=7.10 ESVER=1.5.2
17 - GHCVER=7.10 ESVER=1.6.0
18 - GHCVER=7.10 ESVER=1.7.2
20# services:
21# - elasticsearch
23# Note: the distinction between `before_install` and `install` is not
24# important.
25before_install:
26 - export STACK_YAML=stack-$GHCVER.yaml
27 - wget -q -O- https://s3.amazonaws.com/download.fpcomplete.com/ubuntu/fpco.key | sudo apt-key add -
28 - echo 'deb http://download.fpcomplete.com/ubuntu/precise stable main' | sudo tee /etc/apt/sources.list.d/fpco.list
29 - sudo apt-get update
30 - sudo apt-get install stack -y
31 - stack setup
32 - wget --no-check-certificate https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$ESVER.deb
33 - sudo dpkg --force-all -i elasticsearch-$ESVER.deb
34 - sudo service elasticsearch start
36install:
37 - stack build
39# Here starts the actual work to be performed for the package under
40# test; any command which exits with a non-zero exit code causes the
41# build to fail.
42script:
43 - stack test
45# EOF