Skip to content

Commit a12f68a

Browse files
committed
Allow doctest-0.16
1 parent a8dd12e commit a12f68a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ install:
7373
- grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$'
7474
- "printf 'packages: \".\"\\n' > cabal.project"
7575
- touch cabal.project.local
76-
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
76+
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- servant-swagger | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
7777
- cat cabal.project || true
7878
- cat cabal.project.local || true
7979
- if [ -f "./configure.ac" ]; then
@@ -95,7 +95,7 @@ script:
9595
- find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
9696
- "printf 'packages: servant-swagger-*/*.cabal\\n' > cabal.project"
9797
- touch cabal.project.local
98-
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
98+
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- servant-swagger | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
9999
- cat cabal.project || true
100100
- cat cabal.project.local || true
101101
# this builds all libraries and executables (without tests/benchmarks)

servant-swagger.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ test-suite doctests
9393
build-depends:
9494
base,
9595
directory >= 1.0,
96-
doctest >= 0.11.1 && <0.16,
96+
doctest >= 0.11.1 && <0.17,
9797
servant,
9898
QuickCheck,
9999
filepath

0 commit comments

Comments
 (0)