Getting Travis working

This commit is contained in:
Chris Allen 2016-12-14 19:16:07 -06:00
parent 9cc9479a92
commit ae82ee4826
5 changed files with 60 additions and 7 deletions

33
.travis.yml Normal file
View File

@ -0,0 +1,33 @@
sudo: false
services:
- postgresql
addons:
apt:
packages:
- postgresql-client
- postgresql-server-dev-all
env:
- GHCVER=7.10
# - GHCVER=8.0 # ehhh
install:
# stack
- export STACK_YAML=stack-$GHCVER.yaml
- mkdir -p ~/.local/bin
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.4.0/stack-0.1.4.0-x86_64-linux.tar.gz | tar -xvzf -
- mv stack ~/.local/bin
- export PATH=~/.local/bin:$PATH
- stack --version
script:
- stack setup
- stack update
- stack build
- stack test
cache:
directories:
- $HOME/.stack

View File

@ -1,12 +1,12 @@
name: esqueleto
version: 2.4.3
version: 2.5.0
synopsis: Type-safe EDSL for SQL queries on persistent backends.
homepage: https://github.com/prowdsponsor/esqueleto
homepage: https://github.com/bitemyapp/esqueleto
license: BSD3
license-file: LICENSE
author: Felipe Lessa
maintainer: felipe.lessa@gmail.com
copyright: (c) 2012-2015 Felipe Almeida Lessa
maintainer: cma@bitemyapp.com
copyright: (c) 2012-2016 Felipe Almeida Lessa
category: Database
build-type: Simple
cabal-version: >=1.8

6
stack-7.10.yaml Normal file
View File

@ -0,0 +1,6 @@
flags: {}
packages:
- '.'
resolver: lts-6.12
extra-deps:
- persistent-2.5

16
stack-8.0.yaml Normal file
View File

@ -0,0 +1,16 @@
flags: {}
packages:
- '.'
extra-deps:
- doctest-prop-0.2.0.1
- quickcheck-properties-0.1
# - http-client-0.5.0
# - fail-4.9.0.0
# - http-types-0.9
# - attoparsec-0.13.0.1
# - doctest-0.10.1
# - semigroups-0.18.0.1
# - uri-bytestring-0.1.9
# - temporary-resourcet-0.1.0.0
resolver: nightly-2016-08-20

View File

@ -1,3 +0,0 @@
resolver: lts-5.1
extra-deps:
- persistent-2.5

1
stack.yaml Symbolic link
View File

@ -0,0 +1 @@
stack-7.10.yaml