Skip to content

Commit 878aec0

Browse files
committed
Bumpity
1 parent aa50a61 commit 878aec0

File tree

5 files changed

+165
-133
lines changed

5 files changed

+165
-133
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ cabal.sandbox.config
1111
.stack-work
1212
cabal.config
1313
TAGS
14+
/.ghc.environment.*
15+
dist-newstyle

.travis.yml

Lines changed: 154 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -1,157 +1,185 @@
11
# This Travis job script has been generated by a script via
22
#
3-
# runghc make_travis_yml_2.hs '--ghc-head' '--output' '.travis.yml' 'cabal.project'
3+
# haskell-ci '--ghc-head' '--output' '.travis.yml' 'cabal.project'
44
#
55
# For more information, see https://github.com/haskell-CI/haskell-ci
66
#
7+
# version: 0.9.20200125
8+
#
9+
version: ~> 1.0
710
language: c
8-
sudo: false
9-
11+
os: linux
12+
dist: xenial
1013
git:
11-
submodules: false # whether to recursively clone submodules
12-
14+
# whether to recursively clone submodules
15+
submodules: false
1316
cache:
1417
directories:
1518
- $HOME/.cabal/packages
1619
- $HOME/.cabal/store
17-
20+
- $HOME/.hlint
1821
before_cache:
19-
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/build-reports.log
22+
- rm -fv $CABALHOME/packages/hackage.haskell.org/build-reports.log
2023
# remove files that are regenerated by 'cabal update'
21-
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/00-index.*
22-
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/*.json
23-
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.cache
24-
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar
25-
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar.idx
26-
27-
- rm -rfv $HOME/.cabal/packages/head.hackage
28-
29-
matrix:
24+
- rm -fv $CABALHOME/packages/hackage.haskell.org/00-index.*
25+
- rm -fv $CABALHOME/packages/hackage.haskell.org/*.json
26+
- rm -fv $CABALHOME/packages/hackage.haskell.org/01-index.cache
27+
- rm -fv $CABALHOME/packages/hackage.haskell.org/01-index.tar
28+
- rm -fv $CABALHOME/packages/hackage.haskell.org/01-index.tar.idx
29+
- rm -rfv $CABALHOME/packages/head.hackage
30+
jobs:
3031
include:
31-
- compiler: "ghc-8.6.2"
32-
# env: TEST=--disable-tests BENCH=--disable-benchmarks
33-
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.6.2], sources: [hvr-ghc]}}
34-
- compiler: "ghc-8.4.3"
35-
# env: TEST=--disable-tests BENCH=--disable-benchmarks
36-
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.4.3], sources: [hvr-ghc]}}
37-
- compiler: "ghc-8.2.2"
38-
# env: TEST=--disable-tests BENCH=--disable-benchmarks
39-
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.2.2], sources: [hvr-ghc]}}
40-
- compiler: "ghc-8.0.1"
41-
# env: TEST=--disable-tests BENCH=--disable-benchmarks
42-
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.0.1], sources: [hvr-ghc]}}
43-
- compiler: "ghc-7.10.2"
44-
# env: TEST=--disable-tests BENCH=--disable-benchmarks
45-
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-7.10.2], sources: [hvr-ghc]}}
46-
- compiler: "ghc-7.8.4"
47-
# env: TEST=--disable-tests BENCH=--disable-benchmarks
48-
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-7.8.4], sources: [hvr-ghc]}}
49-
- compiler: "ghc-7.6.3"
50-
# env: TEST=--disable-tests BENCH=--disable-benchmarks
51-
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-7.6.3], sources: [hvr-ghc]}}
52-
- compiler: "ghc-7.4.2"
53-
# env: TEST=--disable-tests BENCH=--disable-benchmarks
54-
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-7.4.2], sources: [hvr-ghc]}}
55-
- compiler: "ghc-7.2.2"
56-
# env: TEST=--disable-tests BENCH=--disable-benchmarks
57-
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-7.2.2], sources: [hvr-ghc]}}
58-
- compiler: "ghc-7.0.4"
59-
# env: TEST=--disable-tests BENCH=--disable-benchmarks
60-
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-7.0.4], sources: [hvr-ghc]}}
61-
- compiler: "ghc-head"
62-
env: GHCHEAD=true
63-
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-head], sources: [hvr-ghc]}}
64-
32+
- compiler: ghc-8.10.1
33+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.10.1","cabal-install-3.2"]}}
34+
os: linux
35+
- compiler: ghc-8.8.2
36+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.8.2","cabal-install-3.0"]}}
37+
os: linux
38+
- compiler: ghc-8.6.2
39+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.6.2","cabal-install-3.0"]}}
40+
os: linux
41+
- compiler: ghc-8.4.3
42+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.4.3","cabal-install-3.0"]}}
43+
os: linux
44+
- compiler: ghc-8.2.2
45+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.2.2","cabal-install-3.0"]}}
46+
os: linux
47+
- compiler: ghc-8.0.1
48+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.0.1","cabal-install-3.0"]}}
49+
os: linux
50+
- compiler: ghc-7.10.2
51+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-7.10.2","cabal-install-3.0"]}}
52+
os: linux
53+
- compiler: ghc-7.8.4
54+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-7.8.4","cabal-install-3.0"]}}
55+
os: linux
56+
- compiler: ghc-7.6.3
57+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-7.6.3","cabal-install-3.0"]}}
58+
os: linux
59+
- compiler: ghc-7.4.2
60+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-7.4.2","cabal-install-3.0"]}}
61+
os: linux
62+
- compiler: ghc-7.2.2
63+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-7.2.2","cabal-install-3.0"]}}
64+
os: linux
65+
- compiler: ghc-7.0.4
66+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-7.0.4","cabal-install-3.0"]}}
67+
os: linux
68+
- compiler: ghc-head
69+
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-head","cabal-install-head"]}}
70+
os: linux
6571
allow_failures:
66-
- compiler: "ghc-head"
67-
72+
- compiler: ghc-head
73+
- compiler: ghc-8.10.1
6874
before_install:
69-
- HC=${CC}
70-
- HCPKG=${HC/ghc/ghc-pkg}
75+
- HC=$(echo "/opt/$CC/bin/ghc" | sed 's/-/\//')
76+
- WITHCOMPILER="-w $HC"
77+
- HADDOCK=$(echo "/opt/$CC/bin/haddock" | sed 's/-/\//')
78+
- HCPKG="$HC-pkg"
7179
- unset CC
72-
- ROOTDIR=$(pwd)
73-
- mkdir -p $HOME/.local/bin
74-
- "PATH=/opt/ghc/bin:/opt/ghc-ppa-tools/bin:$HOME/local/bin:$PATH"
75-
- HCNUMVER=$(( $(${HC} --numeric-version|sed -E 's/([0-9]+)\.([0-9]+)\.([0-9]+).*/\1 * 10000 + \2 * 100 + \3/') ))
80+
- CABAL=/opt/ghc/bin/cabal
81+
- CABALHOME=$HOME/.cabal
82+
- export PATH="$CABALHOME/bin:$PATH"
83+
- TOP=$(pwd)
84+
- "HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\\d+)\\.(\\d+)\\.(\\d+)(\\.(\\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')"
7685
- echo $HCNUMVER
77-
86+
- CABAL="$CABAL -vnormal+nowrap"
87+
- set -o pipefail
88+
- TEST=--enable-tests
89+
- BENCH=--enable-benchmarks
90+
- HEADHACKAGE=false
91+
- if [ $HCNUMVER -ge 81000 ] ; then HEADHACKAGE=true ; fi
92+
- rm -f $CABALHOME/config
93+
- |
94+
echo "verbose: normal +nowrap +markoutput" >> $CABALHOME/config
95+
echo "remote-build-reporting: anonymous" >> $CABALHOME/config
96+
echo "write-ghc-environment-files: always" >> $CABALHOME/config
97+
echo "remote-repo-cache: $CABALHOME/packages" >> $CABALHOME/config
98+
echo "logs-dir: $CABALHOME/logs" >> $CABALHOME/config
99+
echo "world-file: $CABALHOME/world" >> $CABALHOME/config
100+
echo "extra-prog-path: $CABALHOME/bin" >> $CABALHOME/config
101+
echo "symlink-bindir: $CABALHOME/bin" >> $CABALHOME/config
102+
echo "installdir: $CABALHOME/bin" >> $CABALHOME/config
103+
echo "build-summary: $CABALHOME/logs/build.log" >> $CABALHOME/config
104+
echo "store-dir: $CABALHOME/store" >> $CABALHOME/config
105+
echo "install-dirs user" >> $CABALHOME/config
106+
echo " prefix: $CABALHOME" >> $CABALHOME/config
107+
echo "repository hackage.haskell.org" >> $CABALHOME/config
108+
echo " url: http://hackage.haskell.org/" >> $CABALHOME/config
109+
- |
110+
if $HEADHACKAGE; then
111+
echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1/g')" >> $CABALHOME/config
112+
echo "repository head.hackage.ghc.haskell.org" >> $CABALHOME/config
113+
echo " url: https://ghc.gitlab.haskell.org/head.hackage/" >> $CABALHOME/config
114+
echo " secure: True" >> $CABALHOME/config
115+
echo " root-keys: 7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d" >> $CABALHOME/config
116+
echo " 26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329" >> $CABALHOME/config
117+
echo " f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89" >> $CABALHOME/config
118+
echo " key-threshold: 3" >> $CABALHOME/config
119+
fi
78120
install:
79-
- cabal --version
121+
- ${CABAL} --version
80122
- echo "$(${HC} --version) [$(${HC} --print-project-git-commit-id 2> /dev/null || echo '?')]"
81-
- BENCH=${BENCH---enable-benchmarks}
82-
- TEST=${TEST---enable-tests}
83-
- HADDOCK=${HADDOCK-true}
84-
- UNCONSTRAINED=${UNCONSTRAINED-true}
85-
- NOINSTALLEDCONSTRAINTS=${NOINSTALLEDCONSTRAINTS-false}
86-
- GHCHEAD=${GHCHEAD-false}
87-
- travis_retry cabal update -v
88-
- "sed -i.bak 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config"
89-
- rm -fv cabal.project cabal.project.local
90-
# Overlay Hackage Package Index for GHC HEAD: https://github.com/hvr/head.hackage
91123
- |
92-
if $GHCHEAD; then
93-
sed -i 's/-- allow-newer: .*/allow-newer: *:base/' ${HOME}/.cabal/config
94-
for pkg in $($HCPKG list --simple-output); do pkg=$(echo $pkg | sed 's/-[^-]*$//'); sed -i "s/allow-newer: /allow-newer: *:$pkg, /" ${HOME}/.cabal/config; done
95-
96-
echo 'repository head.hackage' >> ${HOME}/.cabal/config
97-
echo ' url: http://head.hackage.haskell.org/' >> ${HOME}/.cabal/config
98-
echo ' secure: True' >> ${HOME}/.cabal/config
99-
echo ' root-keys: 07c59cb65787dedfaef5bd5f987ceb5f7e5ebf88b904bbd4c5cbdeb2ff71b740' >> ${HOME}/.cabal/config
100-
echo ' 2e8555dde16ebd8df076f1a8ef13b8f14c66bad8eafefd7d9e37d0ed711821fb' >> ${HOME}/.cabal/config
101-
echo ' 8f79fd2389ab2967354407ec852cbe73f2e8635793ac446d09461ffb99527f6e' >> ${HOME}/.cabal/config
102-
echo ' key-threshold: 3' >> ${HOME}/.cabal.config
103-
104-
grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$'
105-
106-
cabal new-update head.hackage -v
107-
fi
108-
- grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$'
109-
- "printf 'packages: \".\" \"fgl-arbitrary\"\\n' > cabal.project"
110-
- touch cabal.project.local
111-
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- fgl | grep -vw -- fgl-arbitrary | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
124+
echo "program-default-options" >> $CABALHOME/config
125+
echo " ghc-options: $GHCJOBS +RTS -M6G -RTS" >> $CABALHOME/config
126+
- cat $CABALHOME/config
127+
- rm -fv cabal.project cabal.project.local cabal.project.freeze
128+
- travis_retry ${CABAL} v2-update -v
129+
# Generate cabal.project
130+
- rm -rf cabal.project cabal.project.local cabal.project.freeze
131+
- touch cabal.project
132+
- |
133+
echo "packages: ." >> cabal.project
134+
echo "packages: fgl-arbitrary" >> cabal.project
135+
- |
136+
- "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(fgl|fgl-arbitrary)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
112137
- cat cabal.project || true
113138
- cat cabal.project.local || true
114-
- if [ -f "./configure.ac" ]; then
115-
(cd "." && autoreconf -i);
116-
fi
117-
- if [ -f "fgl-arbitrary/configure.ac" ]; then
118-
(cd "fgl-arbitrary" && autoreconf -i);
119-
fi
120-
- rm -f cabal.project.freeze
121-
- cabal new-build -w ${HC} ${TEST} ${BENCH} --project-file="cabal.project" --dep -j2 all
122-
- cabal new-build -w ${HC} --disable-tests --disable-benchmarks --project-file="cabal.project" --dep -j2 all
123-
- rm -rf .ghc.environment.* "."/dist "fgl-arbitrary"/dist
124-
- DISTDIR=$(mktemp -d /tmp/dist-test.XXXX)
125-
126-
# Here starts the actual work to be performed for the package under test;
127-
# any command which exits with a non-zero exit code causes the build to fail.
139+
- if [ -f "./configure.ac" ]; then (cd "." && autoreconf -i); fi
140+
- if [ -f "fgl-arbitrary/configure.ac" ]; then (cd "fgl-arbitrary" && autoreconf -i); fi
141+
- ${CABAL} v2-freeze $WITHCOMPILER ${TEST} ${BENCH}
142+
- "cat cabal.project.freeze | sed -E 's/^(constraints: *| *)//' | sed 's/any.//'"
143+
- rm cabal.project.freeze
144+
- ${CABAL} v2-build $WITHCOMPILER ${TEST} ${BENCH} --dep -j2 all
145+
- ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --dep -j2 all
128146
script:
129-
# test that source-distributions can be generated
130-
- cabal new-sdist all
147+
- DISTDIR=$(mktemp -d /tmp/dist-test.XXXX)
148+
# Packaging...
149+
- ${CABAL} v2-sdist all
150+
# Unpacking...
131151
- mv dist-newstyle/sdist/*.tar.gz ${DISTDIR}/
132152
- cd ${DISTDIR} || false
133-
- find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
134-
- "printf 'packages: fgl-*/*.cabal fgl-arbitrary-*/*.cabal\\n' > cabal.project"
135-
- touch cabal.project.local
136-
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- fgl | grep -vw -- fgl-arbitrary | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
153+
- find . -maxdepth 1 -type f -name '*.tar.gz' -exec tar -xvf '{}' \;
154+
- find . -maxdepth 1 -type f -name '*.tar.gz' -exec rm '{}' \;
155+
- PKGDIR_fgl="$(find . -maxdepth 1 -type d -regex '.*/fgl-[0-9.]*')"
156+
- PKGDIR_fgl_arbitrary="$(find . -maxdepth 1 -type d -regex '.*/fgl-arbitrary-[0-9.]*')"
157+
# Generate cabal.project
158+
- rm -rf cabal.project cabal.project.local cabal.project.freeze
159+
- touch cabal.project
160+
- |
161+
echo "packages: ${PKGDIR_fgl}" >> cabal.project
162+
echo "packages: ${PKGDIR_fgl_arbitrary}" >> cabal.project
163+
- |
164+
- "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(fgl|fgl-arbitrary)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
137165
- cat cabal.project || true
138166
- cat cabal.project.local || true
167+
# Building...
139168
# this builds all libraries and executables (without tests/benchmarks)
140-
- cabal new-build -w ${HC} --disable-tests --disable-benchmarks all
141-
169+
- ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all
170+
# Building with tests and benchmarks...
142171
# build & run tests, build benchmarks
143-
- cabal new-build -w ${HC} ${TEST} ${BENCH} all
144-
- if [ "x$TEST" = "x--enable-tests" ]; then cabal new-test -w ${HC} ${TEST} ${BENCH} all; fi
145-
146-
# cabal check
147-
- (cd fgl-* && cabal check)
148-
- (cd fgl-arbitrary-* && cabal check)
149-
150-
# haddock
151-
- if $HADDOCK; then cabal new-haddock -w ${HC} ${TEST} ${BENCH} all; else echo "Skipping haddock generation";fi
152-
153-
# Build without installed constraints for packages in global-db
154-
- if $UNCONSTRAINED; then rm -f cabal.project.local; echo cabal new-build -w ${HC} --disable-tests --disable-benchmarks all; else echo "Not building without installed constraints"; fi
155-
156-
# REGENDATA ["--ghc-head","--output",".travis.yml","cabal.project"]
172+
- ${CABAL} v2-build $WITHCOMPILER ${TEST} ${BENCH} all
173+
# Testing...
174+
- ${CABAL} v2-test $WITHCOMPILER ${TEST} ${BENCH} all
175+
# cabal check...
176+
- (cd ${PKGDIR_fgl} && ${CABAL} -vnormal check)
177+
- (cd ${PKGDIR_fgl_arbitrary} && ${CABAL} -vnormal check)
178+
# haddock...
179+
- ${CABAL} v2-haddock $WITHCOMPILER --with-haddock $HADDOCK ${TEST} ${BENCH} all
180+
# Building without installed constraints for packages in global-db...
181+
- rm -f cabal.project.local
182+
- ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all
183+
184+
# REGENDATA ("0.9.20200125",["--ghc-head","--output",".travis.yml","cabal.project"])
157185
# EOF

cabal.project

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
packages: ./fgl.cabal
2+
fgl-arbitrary/fgl-arbitrary.cabal

fgl-arbitrary/fgl-arbitrary.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ extra-source-files: ChangeLog
2020

2121
tested-with: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.2, GHC == 7.6.3,
2222
GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1, GHC == 8.2.2,
23-
GHC == 8.4.3, GHC == 8.6.2
23+
GHC == 8.4.3, GHC == 8.6.2, GHC == 8.8.2, GHC == 8.10.1
2424

2525
source-repository head
2626
type: git
@@ -33,7 +33,7 @@ library
3333
-- other-extensions:
3434
build-depends: base < 5
3535
, fgl >= 5.5.2.0 && < 6
36-
, QuickCheck >= 2.3 && < 2.13
36+
, QuickCheck >= 2.3 && < 2.14
3737
-- hs-source-dirs:
3838
default-language: Haskell2010
3939

@@ -47,8 +47,8 @@ test-suite fgl-arbitrary-tests
4747
build-depends: fgl-arbitrary
4848
, fgl
4949
, base
50-
, QuickCheck >= 2.3 && < 2.13
51-
, hspec >= 2.1 && < 2.7
50+
, QuickCheck
51+
, hspec >= 2.1 && < 2.8
5252
, containers
5353

5454
hs-source-dirs: test

fgl.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extra-source-files:
1919

2020
tested-with: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.2, GHC == 7.6.3,
2121
GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1, GHC == 8.2.2,
22-
GHC == 8.4.3, GHC == 8.6.2
22+
GHC == 8.4.3, GHC == 8.6.2, GHC == 8.8.2, GHC == 8.10.1
2323

2424
source-repository head
2525
type: git
@@ -91,8 +91,8 @@ test-suite fgl-tests {
9191

9292
build-depends: fgl
9393
, base
94-
, QuickCheck >= 2.8 && < 2.13
95-
, hspec >= 2.1 && < 2.7
94+
, QuickCheck >= 2.8 && < 2.14
95+
, hspec >= 2.1 && < 2.8
9696
, containers
9797

9898
hs-source-dirs: test

0 commit comments

Comments
 (0)