Skip to content

Commit 226e1e4

Browse files
authored
Try to workaround temporary regression in cabal HEAD
See haskell/cabal#4392
1 parent 617322b commit 226e1e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ install:
4040
- cabal --version
4141
- echo "$(${HC} --version) [$(${HC} --print-project-git-commit-id 2> /dev/null || echo '?')]"
4242
- travis_retry cabal update -v
43-
- cabal new-build -w ${HC} --dep
43+
- cabal new-build -w ${HC} --dep all
4444

4545
# Here starts the actual work to be performed for the package under test;
4646
# any command which exits with a non-zero exit code causes the build to fail.
@@ -56,13 +56,13 @@ script:
5656
# first build just hackage-security with installed constraints, with and without tests.
5757
# silly yaml, seeing : colon
5858
- "echo packages: hackage-security > cabal.project"
59-
- cabal new-build --disable-tests --constraint "directory installed" --constraint "bytestring installed"
60-
- cabal new-build --enable-tests --constraint "directory installed" --constraint "bytestring installed"
59+
- cabal new-build --disable-tests --constraint "directory installed" --constraint "bytestring installed" all
60+
- cabal new-build --enable-tests --constraint "directory installed" --constraint "bytestring installed" all
6161
- $(find dist-newstyle -type f -executable -name TestSuite | head -n 1)
6262

6363
# build all packages and run testsuite
6464
- cp -v ../cabal.project ./
65-
- cabal new-build -j1
65+
- cabal new-build -j1 all
6666
- $(find dist-newstyle -type f -executable -name TestSuite | head -n 1)
6767

6868
# EOF

0 commit comments

Comments
 (0)