@@ -6,13 +6,19 @@ env:
6 # Global options used for all CI tests
6 # Global options used for all CI tests
7 # ------------------------------------------------------------------------
7 # ------------------------------------------------------------------------
8 - GHC_OPTIONS="-Werror"
8 - GHC_OPTIONS="-Werror"
9 # ------------------------------------------------------------------------
10 # ------------------------------------------------------------------------
10− # Options for builds that need stack
11+ # Options for builds that need stack (note, cabal builds can use stack)
11 # ------------------------------------------------------------------------
12 # ------------------------------------------------------------------------
13+ # Note requiring a specific version of stack using STACKVER may fail due to
14+ # github API limit while checking and upgrading/downgrading to the specific
12 #- STACKVER="1.6.5"
16 #- STACKVER="1.6.5"
13 - STACK_UPGRADE="y"
17 - STACK_UPGRADE="y"
14 # ------------------------------------------------------------------------
19 # ------------------------------------------------------------------------
15 # Other options: Normally you would not need to customize these
20 # Other options: Normally you would not need to customize these
21+ # Note - these are used by both stack and cabal builds
16 # ------------------------------------------------------------------------
22 # ------------------------------------------------------------------------
17 - CABAL_REINIT_CONFIG=y
23 - CABAL_REINIT_CONFIG=y
18 - CABAL_CHECK_RELAX=y
24 - CABAL_CHECK_RELAX=y
@@ -21,6 +27,7 @@ env:
21 - TEST_INSTALL=y
27 - TEST_INSTALL=y
22 - PATH=/bin:/usr/bin
28 - PATH=/bin:/usr/bin
23 - LC_ALL=C.UTF-8
29 - LC_ALL=C.UTF-8
24 # ------------------------------------------------------------------------
31 # ------------------------------------------------------------------------
25 # Location of packcheck.sh (the shell script invoked to perform CI tests ).
32 # Location of packcheck.sh (the shell script invoked to perform CI tests ).
26 # ------------------------------------------------------------------------
33 # ------------------------------------------------------------------------
@@ -32,15 +39,15 @@ env:
32 # If you have not committed packcheck.sh in your repo at PACKCHECK_LOCAL_PATH
39 # If you have not committed packcheck.sh in your repo at PACKCHECK_LOCAL_PATH
33 # then it is automatically pulled from this URL.
40 # then it is automatically pulled from this URL.
34 - PACKCHECK_GITHUB_URL="https://raw.githubusercontent.com/harendra-kumar/packcheck"
41 - PACKCHECK_GITHUB_URL="https://raw.githubusercontent.com/harendra-kumar/packcheck"
35− - PACKCHECK_GITHUB_COMMIT="da9d6da3d18d6250c06617817f0879324c75c224"
42+ - PACKCHECK_GITHUB_COMMIT="437800a90f3b469b04768af068094d2ac582f351"
37notifications:
44notifications:
38 email: false
45 email: false
40−# This matrix has total 11 builds enabled, 4 builds each (3 last major compiler
47+# This matrix has total of 6 builds enabled, we try to cover last three major
41−# versions and head) for stack and cabal, 2 OSX builds (stack and cabal for
48+# GHC versions, stack, cabal, Linux and OSX with minimum number of builds
42−# latest compiler version), and one hlint build. You may want to comment out
49+# possible. You can uncomment other disabled builds or comment out existing
43−# some of the builds to be lighter on the CI infrastructure.
50+# ones to your taste.
45# We pre-install the cabal-install package to not incur the penalty of building
52# We pre-install the cabal-install package to not incur the penalty of building
46# it the first time in cached builds or every time in uncached builds.
53# it the first time in cached builds or every time in uncached builds.
@@ -57,7 +64,7 @@ matrix:
57 - env: BUILD=stack CABALVER=1.24 GHCVER=8.0.2 RESOLVER=lts-9 STACK_YAML=stack-8.0.yaml STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
64 - env: BUILD=stack CABALVER=1.24 GHCVER=8.0.2 RESOLVER=lts-9 STACK_YAML=stack-8.0.yaml STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
58 addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.2,libsdl1.2-dev], sources: [hvr-ghc]}}
65 addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.2,libsdl1.2-dev], sources: [hvr-ghc]}}
60− - env: BUILD=stack CABALVER=2.0 GHCVER=8.2.2 RESOLVER=lts-10 STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
67+ - env: BUILD=stack CABALVER=2.0 GHCVER=8.2.2 RESOLVER=lts-11 STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
61 addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2,libsdl1.2-dev], sources: [hvr-ghc]}}
68 addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2,libsdl1.2-dev], sources: [hvr-ghc]}}
@@ -68,21 +75,25 @@ matrix:
69 # You can customize a stack build even without a custom stack-yaml
76 # You can customize a stack build even without a custom stack-yaml
70 # using STACK_OPTIONS, STACK_BUILD_OPTIONS, GHC_OPTIONS etc.
77 # using STACK_OPTIONS, STACK_BUILD_OPTIONS, GHC_OPTIONS etc.
71− #- env: BUILD=stack RESOLVER=lts-10.0 STACK_BUILD_OPTIONS="--flag packcheck:dev"
78+ #- env: BUILD=stack RESOLVER=lts-11 STACK_BUILD_OPTIONS="--flag packcheck:dev"
73 # --------------------------------------------------------------------------
80 # --------------------------------------------------------------------------
74− # (Linux) cabal builds require pre-installed cabal-install and ghc
81+ # (Linux) cabal builds
75 # --------------------------------------------------------------------------
82 # --------------------------------------------------------------------------
77 #- env: BUILD=cabal CABALVER=1.22 GHCVER=7.10.3
84 #- env: BUILD=cabal CABALVER=1.22 GHCVER=7.10.3
78 # addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3], sources: [hvr-ghc]}}
85 # addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3], sources: [hvr-ghc]}}
80− - env: BUILD=cabal CABALVER=1.24 GHCVER=8.0.2
87+ #- env: BUILD=cabal CABALVER=1.24 GHCVER=8.0.2
81− addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.2], sources: [hvr-ghc]}}
88+ # addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.2], sources: [hvr-ghc]}}
90+ # Consider that we do an 8.2.2 cabal build for OSX, see below
83 #- env: BUILD=cabal CABALVER=2.0 GHCVER=8.2.2
91 #- env: BUILD=cabal CABALVER=2.0 GHCVER=8.2.2
84 # addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2], sources: [hvr-ghc]}}
92 # addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2], sources: [hvr-ghc]}}
94+ - env: BUILD=cabal CABALVER=2.2 GHCVER=8.4.1
95+ addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.1], sources: [hvr-ghc]}}
86 - env: BUILD=cabal CABALVER=head GHCVER=head
97 - env: BUILD=cabal CABALVER=head GHCVER=head
87 addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
98 addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
@@ -91,18 +102,18 @@ matrix:
91 # --------------------------------------------------------------------------
102 # --------------------------------------------------------------------------
93 # GHC 8.2.2/cabal build via stack
104 # GHC 8.2.2/cabal build via stack
94− #- env: BUILD=cabal RESOLVER=lts-10
105+ - env: BUILD=cabal RESOLVER=lts-11
95− # os: osx
106+ os: osx
97 # GHC 8.2.2/stack
108 # GHC 8.2.2/stack
98− - env: BUILD=stack RESOLVER=lts-10
109+ #- env: BUILD=stack RESOLVER=lts-11
99− os: osx
110+ # os: osx
101 # --------------------------------------------------------------------------
112 # --------------------------------------------------------------------------
103 # --------------------------------------------------------------------------
114 # --------------------------------------------------------------------------
105− - env: BUILD=stack RESOLVER=lts-10 HLINT_COMMANDS="hlint lint ."
116+ - env: BUILD=stack RESOLVER=lts-11 HLINT_COMMANDS="hlint lint ."
107 # --------------------------------------------------------------------------
118 # --------------------------------------------------------------------------
108 # Build and send coverage report to coveralls.io using hpc-coveralls
119 # Build and send coverage report to coveralls.io using hpc-coveralls
@@ -120,7 +131,7 @@ matrix:
120 allow_failures:
131 allow_failures:
121 - env: BUILD=stack RESOLVER=nightly
132 - env: BUILD=stack RESOLVER=nightly
122 - env: BUILD=cabal CABALVER=head GHCVER=head
133 - env: BUILD=cabal CABALVER=head GHCVER=head
123− - env: BUILD=stack RESOLVER=lts-10 HLINT_COMMANDS="hlint lint ."
134+ - env: BUILD=stack RESOLVER=lts-11 HLINT_COMMANDS="hlint lint ."
125# ------------------------------------------------------------------------
136# ------------------------------------------------------------------------
126# Settings beyond this point are advanced and normally not tweaked
137# Settings beyond this point are advanced and normally not tweaked