on master help sign in
Just make a separate 7.8 stack.yaml

Was having issues where flags seemed to not be picked up when passed through the command line via env vars. I guess the upside to this approach is we have fewer unnecessary extra-deps in the main stack.yaml.

commit614d866975a2e9868b82e9cd575ee8be4e1bef9c authorMichael Xavier <michael@michaelxavier.net> dateWed 6 Apr 2016, 08:21 (11 years ago) parent494f5a5
3 files changed+33−10
.travis.yml+5−5 stack-7.8.yaml+28 stack.yaml−5
.travis.yml+5−5
@@ -13,11 +13,11 @@ addons:
1313# The different configurations we want to test. You could also do things like
1414# change flags or use --stack-yaml to point to a different file.
1515env:
16−- ARGS="" BUILDFLAGS=""
17−- ARGS="--resolver=lts-2.22" BUILDFLAGS="--flag=time-locale-compat:-old-locale"
18−- ARGS="--resolver=lts-3" BUILDFLAGS=""
19−- ARGS="--resolver=lts" BUILDFLAGS=""
20−- ARGS="--resolver=nightly" BUILDFLAGS=""
16+- ARGS=""
17+- ARGS="--stack-yaml=stack-7.8.yaml"
18+- ARGS="--resolver=lts-3"
19+- ARGS="--resolver=lts"
20+- ARGS="--resolver=nightly"
2121
2222before_install:
2323# Download and unpack the stack executable
stack-7.8.yamlnew file+28
@@ -0,0 +1,28 @@
1+resolver: lts-2.22
2+packages:
3+ - katip
4+ - katip-elasticsearch
5+extra-deps:
6+ - bloodhound-0.11.0.0
7+ - string-conv-0.1
8+ - aeson-0.11.1.0
9+ - criterion-1.1.0.0
10+ - attoparsec-0.13.0.1
11+ - rng-utils-0.2.1
12+ - retry-0.7.1
13+ - tasty-0.11.0.2
14+ - tagged-0.8.3
15+ - fail-4.9.0.0
16+ # just for 7.8/lts-2
17+ - microlens-th-0.3.0.1
18+ - microlens-0.4.2.0
19+ - time-1.5.0.1
20+ - lens-aeson-1.0.0.5
21+ - time-locale-compat-0.1.1.1
22+flags:
23+ katip:
24+ lib-Werror: true
25+ katip-elasticsearch:
26+ lib-Werror: true
27+ time-locale-compat:
28+ old-locale: false
stack.yaml−5
@@ -13,11 +13,6 @@ extra-deps:
1313 - tasty-0.11.0.2
1414 - tagged-0.8.3
1515 - fail-4.9.0.0
16− # just for 7.8/lts-2
17− - microlens-th-0.3.0.1
18− - microlens-0.4.2.0
19− - time-1.5.0.1
20− - lens-aeson-1.0.0.5
2116flags:
2217 katip:
2318 lib-Werror: true