git.iko.soy/typeable/bloodhound
on extra-source-files help sign in
typeable/bloodhound/.travis.yml
44 lines 1.5 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
19# services:
20# - elasticsearch
22# Note: the distinction between `before_install` and `install` is not
23# important.
24before_install:
25 - export STACK_YAML=stack-$GHCVER.yaml
26 - wget -q -O- https://s3.amazonaws.com/download.fpcomplete.com/ubuntu/fpco.key | sudo apt-key add -
27 - echo 'deb http://download.fpcomplete.com/ubuntu/precise stable main' | sudo tee /etc/apt/sources.list.d/fpco.list
28 - sudo apt-get update
29 - sudo apt-get install stack -y
30 - stack setup
31 - wget --no-check-certificate https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$ESVER.deb
32 - sudo dpkg --force-all -i elasticsearch-$ESVER.deb
33 - sudo service elasticsearch start
35install:
36 - stack build
38# Here starts the actual work to be performed for the package under
39# test; any command which exits with a non-zero exit code causes the
40# build to fail.
41script:
42 - stack test
44# EOF