2
2
#
3
3
# haskell-ci '--output' '.travis.yml' 'HTTP.cabal'
4
4
#
5
+ # To regenerate the script (for example after adjusting tested-with) run
6
+ #
7
+ # haskell-ci regenerate
8
+ #
5
9
# For more information, see https://github.com/haskell-CI/haskell-ci
6
10
#
7
- # version: 0.9.20200325
11
+ # version: 0.11.20210220
8
12
#
9
13
version : ~> 1.0
10
14
language : c
@@ -29,41 +33,44 @@ before_cache:
29
33
- rm -rfv $CABALHOME/packages/head.hackage
30
34
jobs :
31
35
include :
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"]}}
36
+ - compiler : ghc-9.0.1
37
+ addons : {"apt":{"packages":["ghc-9.0.1","cabal-install-3.4"],"sources":[{"key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"}]}}
38
+ os : linux
39
+ - compiler : ghc-8.10.4
40
+ addons : {"apt":{"packages":["ghc-8.10.4","cabal-install-3.4"],"sources":[{"key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"}]}}
34
41
os : linux
35
42
- compiler : ghc-8.8.3
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.3","cabal-install-3.0" ]}}
43
+ addons : {"apt":{"packages ":["ghc-8.8.3","cabal-install-3.4"],"sources":[{" key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"} ]}}
37
44
os : linux
38
45
- compiler : ghc-8.6.5
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.5","cabal-install-3.0" ]}}
46
+ addons : {"apt":{"packages ":["ghc-8.6.5","cabal-install-3.4"],"sources":[{" key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"} ]}}
40
47
os : linux
41
48
- compiler : ghc-8.4.4
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.4","cabal-install-3.0" ]}}
49
+ addons : {"apt":{"packages ":["ghc-8.4.4","cabal-install-3.4"],"sources":[{" key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"} ]}}
43
50
os : linux
44
51
- 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" ]}}
52
+ addons : {"apt":{"packages ":["ghc-8.2.2","cabal-install-3.4"],"sources":[{" key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"} ]}}
46
53
os : linux
47
54
- compiler : ghc-8.0.2
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.2","cabal-install-3.0" ]}}
55
+ addons : {"apt":{"packages ":["ghc-8.0.2","cabal-install-3.4"],"sources":[{" key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"} ]}}
49
56
os : linux
50
57
- compiler : ghc-7.10.3
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.3","cabal-install-3.0" ]}}
58
+ addons : {"apt":{"packages ":["ghc-7.10.3","cabal-install-3.4"],"sources":[{" key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"} ]}}
52
59
os : linux
53
60
- 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" ]}}
61
+ addons : {"apt":{"packages ":["ghc-7.8.4","cabal-install-3.4"],"sources":[{" key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"} ]}}
55
62
os : linux
56
63
- 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" ]}}
64
+ addons : {"apt":{"packages ":["ghc-7.6.3","cabal-install-3.4"],"sources":[{" key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"} ]}}
58
65
os : linux
59
66
- 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" ]}}
67
+ addons : {"apt":{"packages ":["ghc-7.4.2","cabal-install-3.4"],"sources":[{" key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"} ]}}
61
68
os : linux
62
69
- 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" ]}}
70
+ addons : {"apt":{"packages ":["ghc-7.2.2","cabal-install-3.4"],"sources":[{" key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"} ]}}
64
71
os : linux
65
72
- 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" ]}}
73
+ addons : {"apt":{"packages ":["ghc-7.0.4","cabal-install-3.4"],"sources":[{" key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286","sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main"} ]}}
67
74
os : linux
68
75
before_install :
69
76
- HC=$(echo "/opt/$CC/bin/ghc" | sed 's/-/\//')
@@ -86,7 +93,7 @@ before_install:
86
93
- |
87
94
echo "verbose: normal +nowrap +markoutput" >> $CABALHOME/config
88
95
echo "remote-build-reporting: anonymous" >> $CABALHOME/config
89
- echo "write-ghc-environment-files: always" >> $CABALHOME/config
96
+ echo "write-ghc-environment-files: never" >> $CABALHOME/config
90
97
echo "remote-repo-cache: $CABALHOME/packages" >> $CABALHOME/config
91
98
echo "logs-dir: $CABALHOME/logs" >> $CABALHOME/config
92
99
echo "world-file: $CABALHOME/world" >> $CABALHOME/config
@@ -113,6 +120,8 @@ install:
113
120
- touch cabal.project
114
121
- |
115
122
echo "packages: ." >> cabal.project
123
+ - if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo 'package HTTP' >> cabal.project ; fi
124
+ - " if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo ' ghc-options: -Werror=missing-methods' >> cabal.project ; fi"
116
125
- |
117
126
- " for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(HTTP)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
118
127
- cat cabal.project || true
@@ -138,6 +147,8 @@ script:
138
147
- touch cabal.project
139
148
- |
140
149
echo "packages: ${PKGDIR_HTTP}" >> cabal.project
150
+ - if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo 'package HTTP' >> cabal.project ; fi
151
+ - " if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo ' ghc-options: -Werror=missing-methods' >> cabal.project ; fi"
141
152
- |
142
153
- " for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(HTTP)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
143
154
- cat cabal.project || true
@@ -147,9 +158,9 @@ script:
147
158
- ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all
148
159
# Building with tests and benchmarks...
149
160
# build & run tests, build benchmarks
150
- - ${CABAL} v2-build $WITHCOMPILER ${TEST} ${BENCH} all
161
+ - ${CABAL} v2-build $WITHCOMPILER ${TEST} ${BENCH} all --write-ghc-environment-files=always
151
162
# Testing...
152
- - ${CABAL} v2-test $WITHCOMPILER ${TEST} ${BENCH} all
163
+ - ${CABAL} v2-test $WITHCOMPILER ${TEST} ${BENCH} all --test-show-details=direct
153
164
# cabal check...
154
165
- (cd ${PKGDIR_HTTP} && ${CABAL} -vnormal check)
155
166
# haddock...
@@ -158,5 +169,5 @@ script:
158
169
- rm -f cabal.project.local
159
170
- ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all
160
171
161
- # REGENDATA ("0.9.20200325 ",["--output",".travis.yml","HTTP.cabal"])
172
+ # REGENDATA ("0.11.20210220 ",["--output",".travis.yml","HTTP.cabal"])
162
173
# EOF
0 commit comments