Skip to content

Commit 4b1d2e3

Browse files
committed
Add composer cache/vendor dirs to travis, fix sandbox temp dir
1 parent bcb9911 commit 4b1d2e3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ language: php
22
sudo: false
33
dist: trusty
44

5+
cache:
6+
directories:
7+
- vendor
8+
- $HOME/.composer/cache
9+
510
php:
611
- 5.6
712
- 7.0

tests/Functional/SandboxTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static function setUpBeforeClass()
2020
{
2121
ComposerSandbox::$debugOutputEnabled = isset($_SERVER['argv']) && in_array('--debug', $_SERVER['argv']);
2222

23-
static::$sandbox = new ComposerSandbox(null, null, '/Users/dsh/tmp');
23+
static::$sandbox = new ComposerSandbox();
2424
}
2525

2626
/**

0 commit comments

Comments
 (0)