Skip to content

Commit

Permalink
Speed up the travis build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Parkinson committed Dec 17, 2015
1 parent 6438af7 commit 8cbc8ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ install:
script:
- vendor/bin/phpunit --testsuite unit
- php tests/benchmark/benchmark.php

cache:
directories:
- vendor/
2 changes: 1 addition & 1 deletion tests/benchmark/benchmark.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function count()
$benchmark = function ($formatter) {
$results = [];

foreach(range(0, 20) as $i) {
foreach(range(0, 5) as $i) {
$start = microtime(true);

$countable = new BenchmarkCountable();
Expand Down

0 comments on commit 8cbc8ab

Please sign in to comment.