Getting Travis working
This commit is contained in:
parent
9cc9479a92
commit
ae82ee4826
33
.travis.yml
Normal file
33
.travis.yml
Normal 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
|
||||||
@ -1,12 +1,12 @@
|
|||||||
name: esqueleto
|
name: esqueleto
|
||||||
version: 2.4.3
|
version: 2.5.0
|
||||||
synopsis: Type-safe EDSL for SQL queries on persistent backends.
|
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: BSD3
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
author: Felipe Lessa
|
author: Felipe Lessa
|
||||||
maintainer: felipe.lessa@gmail.com
|
maintainer: cma@bitemyapp.com
|
||||||
copyright: (c) 2012-2015 Felipe Almeida Lessa
|
copyright: (c) 2012-2016 Felipe Almeida Lessa
|
||||||
category: Database
|
category: Database
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
cabal-version: >=1.8
|
cabal-version: >=1.8
|
||||||
|
|||||||
6
stack-7.10.yaml
Normal file
6
stack-7.10.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
flags: {}
|
||||||
|
packages:
|
||||||
|
- '.'
|
||||||
|
resolver: lts-6.12
|
||||||
|
extra-deps:
|
||||||
|
- persistent-2.5
|
||||||
16
stack-8.0.yaml
Normal file
16
stack-8.0.yaml
Normal 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
|
||||||
@ -1,3 +0,0 @@
|
|||||||
resolver: lts-5.1
|
|
||||||
extra-deps:
|
|
||||||
- persistent-2.5
|
|
||||||
1
stack.yaml
Symbolic link
1
stack.yaml
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
stack-7.10.yaml
|
||||||
Loading…
Reference in New Issue
Block a user