Skip to content

Commit

Permalink
Merge pull request #569 from rbasso/travis-disable-benchmarks
Browse files Browse the repository at this point in the history
travis: Disable building the benchmarks
  • Loading branch information
rbasso authored Jul 1, 2017
2 parents 83abbfb + ccb31e4 commit 301bc24
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 7 additions & 3 deletions bin/test-example
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,13 @@ runstack () {
stack "$@" ${SET_RESOLVER} `# Select the correct resolver. `\
--install-ghc `# Download GHC if not in cache.`\
--no-terminal `# Terminal detection is broken.`\
--bench `# Build benchmarks, but `\
--no-run-benchmarks `# do not run them. `\
--pedantic `# Enable -Wall and -Werror. `
--pedantic `# Enable -Wall and -Werror. `\
# --bench `# Build benchmarks, but `\
# --no-run-benchmarks `# do not run them. `
#
# We are temporarily disabling the benchmarks
# to speed up Travis-CI and try to stay below
# the 50 minutes limit.
}

if [ "$exampletype" = "success" ]; then
Expand Down
6 changes: 5 additions & 1 deletion bin/test-stub
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,9 @@ else
echo "building stub with everything else"
stack build ${SET_RESOLVER} --install-ghc --no-terminal \
--test --no-run-tests \
--bench --no-run-benchmarks
# --bench --no-run-benchmarks
#
# We are temporarily disabling the benchmarks
# to speed up Travis-CI and try to stay below
# the 50 minutes limit.
fi

0 comments on commit 301bc24

Please sign in to comment.