Browse Source

Don't build generatemanpage with ghc 8.6.x yet: we're lacking pandoc.

master
Peter Simons 10 months ago
parent
commit
1f3a27f9b9
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      .travis.yml

+ 2
- 2
.travis.yml View File

@@ -86,7 +86,7 @@ install:
86 86
     fi
87 87
   - grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$'
88 88
   - "printf 'packages: \".\"\\n' > cabal.project"
89
-  - "printf 'package xmonad\\n  flags: +generatemanpage\n' >> cabal.project"
89
+  - "if [ $HCNUMVER -lt 80600 ]; then printf 'package xmonad\\n  flags: +generatemanpage\n' >> cabal.project; fi"
90 90
   - touch cabal.project.local
91 91
   - "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg  | grep -vw -- xmonad | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
92 92
   - cat cabal.project || true
@@ -109,7 +109,7 @@ script:
109 109
   - cd ${DISTDIR} || false
110 110
   - find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
111 111
   - "printf 'packages: xmonad-*/*.cabal\\n' > cabal.project"
112
-  - "printf 'package xmonad\\n  flags: +generatemanpage\n' >> cabal.project"
112
+  - "if [ $HCNUMVER -lt 80600 ]; then printf 'package xmonad\\n  flags: +generatemanpage\n' >> cabal.project; fi"
113 113
   - touch cabal.project.local
114 114
   - "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg  | grep -vw -- xmonad | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
115 115
   - cat cabal.project || true

Loading…
Cancel
Save