Skip to content

Commit 81ca89c

Browse files
committed
Don't build benchmarks on travis-ci
Trying to install the benchmark dependencies causes a dependency cycle.
1 parent 90878a9 commit 81ca89c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ before_install:
1414
- sudo apt-get install cabal-install-1.18 ghc-$GHCVER happy
1515
- export PATH=/opt/ghc/$GHCVER/bin:$PATH
1616

17+
# Benchmarks aren't built as installing their dependencies causes a
18+
# dependency cycle.
1719
install:
1820
- cabal-1.18 update
19-
- cabal-1.18 install --only-dependencies --enable-tests --enable-benchmarks
21+
- cabal-1.18 install --only-dependencies --enable-tests
2022

2123
# 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.
2224
script:
23-
- cabal-1.18 configure --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging
25+
- cabal-1.18 configure --enable-tests -v2 # -v2 provides useful information for debugging
2426
- cabal-1.18 build # this builds all libraries and executables (including tests/benchmarks)
2527
- cabal-1.18 test
2628
- cabal-1.18 check

0 commit comments

Comments
 (0)