-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcabal.haskell-ci
123 lines (82 loc) · 2.3 KB
/
cabal.haskell-ci
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
-- cabal-install version for all jobs
cabal-install-version: 2.4
-- jobs (N:M - cabal:ghc)
jobs:
-- distribution version (xenial, bionic)
distribution: xenial
-- Jobs selection across packages
jobs-selection: uniform
-- Copy ? fields from cabal.project fields
copy-fields: some
-- --ghc-options for local packages
local-ghc-options:
-- Clone submodules, i.e. recursively
submodules: False
-- Disable caching
cache: True
-- Skip separate dependency installation step
install-dependencies: True
-- Specify 'constraint: ... installed' packages
installed:
-- Build tests with
tests: True
-- Run tests with (note: only built tests are run)
run-tests: True
-- Build benchmarks
benchmarks: True
-- Haddock step
haddock: True
-- Build without tests and benchmarks
no-tests-no-benchmarks: True
-- Make unconstrained build
unconstrained: True
-- Use head.hackage repository. Also marks as allow-failures
head-hackage: >=8.9
-- Disable cabal check run
cabal-check: True
-- Enable builds only for specific branches
branches:
-- Enable IRC notifications to given channel (e.g. 'irc.freenode.org#haskell-lens')
irc-channels:
-- Project name (used for IRC notifications), defaults to package name or name of first package listed in cabal.project file
project-name:
-- Build steps to fold
folds:
-- Add ghc-head job
ghc-head: False
-- Add postgresql service
postgresql: False
-- Environment variables per job (e.g. `8.0.2:HADDOCK=false`)
env:
-- Allow failures of particular GHC version
allow-failures: False
-- [Discouraged] Assume there are only GHCs last in major series: 8.2.* will match only 8.2.2
last-in-series: False
-- Jobs to additionally build with OSX
osx:
-- Additional apt packages to install
apt:
-- .patch files to apply to the generated Travis YAML file
travis-patches:
-- Don't insert the haskell-ci version into the generated Travis YAML file
insert-version: True
-- Disable coloring cabal output
color: True
-- Enable Doctest job
doctest: True
-- Additional Doctest options
doctest-options:
-- Doctest version
doctest-version: ==0.16.*
-- Filter packages from .ghc.environment file
doctest-filter-packages:
-- Enable HLint job
hlint: True
-- Specify HLint job
hlint-job: latest
-- Use specific .hlint.yaml
hlint-yaml: .hlint.yaml
-- Additional HLint options
hlint-options:
-- HLint version
hlint-version: ==2.1.*