git.iko.soy/typeable/postgresql-simple
on master help sign in
Run tests on travis-ci
commitf57d87212c9c2b1baf8bdec49b108e22ea3640d2 authorSimon Hengel <sol@typeful.net> dateTue 18 Nov 2014, 18:48 (12 years ago) parent6b8df82
2 files changed+8
.travis.yml+7 test/Main.hs+1
.travis.ymlnew file+7
@@ -0,0 +1,7 @@
1+language: haskell
2+
3+addons:
4+ postgresql: "9.3"
5+
6+before_install:
7+ - createdb `whoami`
test/Main.hs+1
@@ -167,6 +167,7 @@ testArray TestEnv{..} = TestCase $ do
167167
168168testHStore :: TestEnv -> Test
169169testHStore TestEnv{..} = TestCase $ do
170+ execute_ conn "CREATE EXTENSION IF NOT EXISTS hstore"
170171 roundTrip []
171172 roundTrip [("foo","bar"),("bar","baz"),("baz","hello")]
172173 roundTrip [("fo\"o","bar"),("b\\ar","baz"),("baz","\"value\\with\"escapes")]