Commit Graph

27 Commits

Author SHA1 Message Date
Matt Parsons
b35713c09f
Autoformatting + Stylish Haskell Config (#218)
* Add stylish-haskell.yaml, update spacing to 4 in configs

* update travis

* lol

* major formatting stuff

* fix parse error

* fix

* warnings, more tidying up

* Add style guide [ci skip]

* faster build perhaps

* cabbal

* sigh
2020-10-29 16:20:52 -06:00
Matt Parsons
56d1e348c3
update nightly resolver (#208)
* update nightly resolver

* hmm
2020-10-28 10:40:22 -06:00
Matt Parsons
4887bc19fe
add GHC 8.8 to testing (#206) 2020-09-17 15:47:54 -06:00
Matt Parsons
951bb21c1b
remove upper bounds (#171)
* remove upper bounds

* work with stackage nightly

* Add nightly build
2020-01-24 13:23:26 -07:00
Jose Duran
3fcd094c55 change postgres port 2019-09-19 20:23:32 -05:00
Felix Paulusma
a452946f58 PostgreSQL JSON Operators (#128)
* added PostgreSQL.JSON module

* finished adding all JSON operators

* cleanup

* half way through writing tests

* final tweaks to comments

* finished with JSON tests

* upped persistent dependency to 2.10.0 because of PersistArray data constructor addition needed for JSON operators

* noticed the minus operator with text[] as right operand was only added in PSQL v10, added function and adjusted types/tests

* adjusted yaml configs for updated dependencies and PSQL v10 in Travis

* try to get PostgreSQL 10 running

* use @since notation

* removed postgresql from 'services' field

* and one more time, with FEELING! (and postgresql-10)

* foo

* PSQL 10 runs on 5433, it seems? reverting .travis.yml changes and setting test conn to port 5433

* of course I forget to add the PORT env > .<

* doop-dee-doo

* herp-a-derp

* last commit (hopefully)

* also have more recent dependencies in the 'compiler should error' tests

* why does it feel like this'll go on for a while still?

* copied some extra-deps from the persistent ymls

* aaaaand we're done... right?

* added persistent-postgresql to the dependencies and used its instances for Aeson.Value

* small comment fix

* moved the instances to their own module, this way they're optional to use if you don't use persistent-postgresql

* use port 5432, like a normal PostgreSQL!

* added JSONB newtype with instances, instead of orphaning Aeson.Value

* reworked everything to use the JSONB newtype. And adjusted most comments to reflect the change

* fixed all the tests (just making it compile again)

* that's right, Travis' PSQL v10 NEEEEDS it to be port 5433... for some reason

* update on the haddockumentation

* added JSONAccessor data type for easier usage of certain operators

* Also add to changelog.md

* JSONExpr -> JSONBExpr

* this damn PGPORT is really irritating
2019-08-04 22:10:31 -06:00
Matt Parsons
7b7717b05a
persistent-2.10 support (#122)
* persistent-2.10 support

* ignore cabal file

* 3.0.0

* update changelog [ci skip]
2019-04-22 21:24:40 -07:00
parsonsmatt
5ef82d94ac Add test for write-read-role 2018-12-18 16:51:52 -07:00
Chris Allen
5f98e7b253
Merge pull request #106 from thiagorp/master
Add `FOR UPDATE SKIP LOCKED` to possible lock types and fix CI
2018-12-18 14:09:13 -06:00
Dan Burton
8f23eae8b9 Update to ghc-8.6 and persistent-2.9 2018-12-18 13:06:33 -07:00
Thiago Rodrigues de Paula
a9678c948b Create MySQL db on travis 2018-10-30 00:11:16 +01:00
Matt Audesse
af6483ded4
Update $GHCVER environment variables in .travis.yml
If you inspect the
[output](https://travis-ci.org/bitemyapp/esqueleto/jobs/411001100)
from a recent travis build you'll see that the `GHCVER=7.10` and
`GHCVER=8.00` values are preventing tests from actually running:

```
...

The command "stack test -- esqueleto:postgresql" exited with 1.
$ stack test -- esqueleto:sqlite
Getting project config file from STACK_YAML environment
Could not parse '/home/travis/build/bitemyapp/esqueleto/stack-8.0.yaml':
YAML exception:
Yaml file not found: /home/travis/build/bitemyapp/esqueleto/stack-8.0.yaml
See http://docs.haskellstack.org/en/stable/yaml_configuration/

...
```

I've updated to match the 8.2 and 8.4 versions that are live as of d2fdaaf.
2018-08-01 17:18:14 -04:00
Chris Allen
103fb6bf6b Fintan remove CPP 2018-02-27 16:45:07 -06:00
Sebastián Estrella
b0abe50812 Add arrayRemove wrapper for PostgreSQL function 2018-01-10 13:34:25 -05:00
Fintan Halpenny
698c491d73 Big green checks for travis, sweeping the dirty mysql under the rug 2017-08-10 22:00:45 +01:00
Fintan Halpenny
317a24d841 Put sqlite before mysql 2017-08-10 21:48:51 +01:00
Fintan Halpenny
1a88bd85e3 Fixed up some mysql kinks and split out test function. Added new test format to travis yaml. 2017-08-10 21:21:26 +01:00
Chris Allen
9109d327c3 postgres database 2017-07-25 13:29:56 -05:00
Chris Allen
9350894518 derp, no sudo 2017-07-25 13:26:30 -05:00
Chris Allen
cf342648cd Minor test cleanup 2017-07-25 13:15:40 -05:00
Matt Parsons
40c966bc75 add stack test 2017-06-21 12:23:24 -06:00
Chris Coffey
9604b25833 Fix postgres tests 2017-02-04 13:02:09 -05:00
mrkkrp
eaa7c1057f Allow ‘persistent-2.6’ and ‘base-4.9’ 2017-01-11 03:08:10 +03:00
Chris Allen
bfc8502dbf Make test suite run against PGSQL and MySQL 2016-12-14 19:40:18 -06:00
Chris Allen
7ff70f1e63 Add libgmp 2016-12-14 19:26:50 -06:00
Chris Allen
08067f397a disable test 2016-12-14 19:21:57 -06:00
Chris Allen
ae82ee4826 Getting Travis working 2016-12-14 19:16:07 -06:00