Skip to content

Commit

Permalink
Try to workaround temporary regression in cabal HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
hvr authored Mar 12, 2017
1 parent 617322b commit 226e1e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ install:
- cabal --version
- echo "$(${HC} --version) [$(${HC} --print-project-git-commit-id 2> /dev/null || echo '?')]"
- travis_retry cabal update -v
- cabal new-build -w ${HC} --dep
- cabal new-build -w ${HC} --dep all

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

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

# EOF

0 comments on commit 226e1e4

Please sign in to comment.