git.iko.soy/typeable/validationt
on master help sign in
Merge pull request #12 from ilyakooo0/bump-version

bumped version and added explicit default-language to tests.

commitc943f92ac2a9cd77482a8fa0ca2e2cf768426283 authorDenis Redozubov <denis.redozubov@gmail.com> dateWed 5 Feb 2020, 18:38 (7 years ago) parent97fea979da2d9a
4 files changed+27−43
.travis.yml+14−27 ChangeLog.md+6 test/Doc.hs+1−1 validationt.cabal+6−15
.travis.yml+14−27
@@ -4,48 +4,35 @@ language: haskell
44git:
55 depth: 5
66
7−cabal: "2.4"
8−
97cache:
108 directories:
119 - "$HOME/.cabal/store"
1210 - "$HOME/.stack"
1311 - "$TRAVIS_BUILD_DIR/.stack-work"
1412
15−matrix:
13+jobs:
1614 include:
17−
18− # Cabal
19− - ghc: 8.4.4
2015 - ghc: 8.6.5
21−
22− # Stack
23− - ghc: 8.6.5
24− env: STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml"
16+ env: SNAPSHOT="lts-14.22"
17+ - ghc: 8.6.4
18+ env: SNAPSHOT="lts-13.19"
19+ - ghc: 8.6.3
20+ env: SNAPSHOT="lts-13.11"
21+ - ghc: 8.4.4
22+ env: SNAPSHOT="lts-12.26"
2523
2624install:
2725 - |
28− if [ -z "$STACK_YAML" ]; then
29− ghc --version
30− cabal --version
31− cabal new-update
32− cabal new-build --enable-tests --enable-benchmarks
33− else
34− # install stack
35− curl -sSL https://get.haskellstack.org/ | sh
26+ # install stack
27+ curl -sSL https://get.haskellstack.org/ | sh
3628
37− # build project with stack
38− stack --version
39− stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
40− fi
29+ # build project with stack
30+ stack --version
31+ stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --resolver=$SNAPSHOT
4132
4233script:
4334 - |
44− if [ -z "$STACK_YAML" ]; then
45− cabal new-test --enable-tests
46− else
47− stack test --system-ghc
48− fi
35+ stack test --system-ghc
4936
5037notifications:
5138 email: false
ChangeLog.md+6
@@ -1,5 +1,11 @@
11# Revision history for validationt
22
3+## 0.3.0
4+
5+* Added documentation.
6+* Fixed `textErrors` behaviour.
7+* Dropped `transformers-lift` dependency.
8+
39## 0.2.1.0
410
511* GHC 8.4 support
test/Doc.hs+1−1
@@ -3,4 +3,4 @@ module Main (main) where
33import Test.DocTest
44
55main :: IO ()
6−main = doctest [ "-XOverloadedStrings", "src" ]
6+main = doctest [ "-XOverloadedStrings", "-isrc", "src" ]
validationt.cabal+6−15
@@ -2,7 +2,7 @@
22-- documentation, see http://haskell.org/cabal/users-guide/
33
44name: validationt
5−version: 0.2.1.0
5+version: 0.3.0
66synopsis: Straightforward validation monad.
77description: Convenient solution for validating web forms and APIs.
88homepage: https://github.com/typeable/validationt
@@ -50,21 +50,12 @@ library
5050 -Wmissing-export-lists
5151
5252test-suite doctest
53+ default-language: Haskell2010
5354 type: exitcode-stdio-1.0
5455 hs-source-dirs: test
5556 ghc-options: -Wall
5657 main-is: Doc.hs
57− build-depends: base >=4.8 && < 5
58− , aeson >= 1.0
59− , doctest
60− , containers
61− , exceptions
62− , lens
63− , monad-control
64− , mtl
65− , QuickCheck
66− , text
67− , transformers
68− , transformers-base
69− , vector
70− , doctest
58+ build-depends:
59+ base >= 4.10.0.0
60+ , doctest >= 0.11.4
61+ , validationt