You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
157
+
- cat cabal.project || true
158
+
- cat cabal.project.local || true
152
159
- echo -en 'travis_fold:end:unpack\\r'
153
160
154
-
155
161
- echo Building with tests and benchmarks... && echo -en 'travis_fold:start:build-everything\\r'
156
162
# build & run tests, build benchmarks
157
163
- cabal new-build -w ${HC} ${TEST} ${BENCH} all
@@ -164,5 +170,10 @@ script:
164
170
- if $HADDOCK; then cabal new-haddock -w ${HC} ${TEST} ${BENCH} all; else echo "Skipping haddock generation";fi
165
171
166
172
- echo -en 'travis_fold:end:haddock\\r'
173
+
- echo Building without installed constraints for packages in global-db... && echo -en 'travis_fold:start:build-installed\\r'
174
+
# Build without installed constraints for packages in global-db
175
+
- 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
0 commit comments