mirror of
https://github.com/danog/amp.git
synced 2025-01-22 21:31:18 +01:00
Only cache dist files on Travis and use --prefer-dist
This commit is contained in:
parent
9def47e50d
commit
c838a0ae8f
@ -48,7 +48,7 @@ install:
|
||||
popd;
|
||||
echo "extension=event.so" >> "$(php -r 'echo php_ini_loaded_file();')";
|
||||
|
||||
- composer update -n --prefer-source
|
||||
- composer update -n --prefer-dist
|
||||
- composer show
|
||||
|
||||
script:
|
||||
@ -63,4 +63,4 @@ after_script:
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.composer/cache
|
||||
- $HOME/.composer/cache/files
|
||||
|
@ -8,8 +8,9 @@ use Amp\Loop;
|
||||
use Amp\Pause;
|
||||
use Amp\Promise;
|
||||
use Amp\Success;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class PromiseMapTest extends \PHPUnit\Framework\TestCase {
|
||||
class PromiseMapTest extends TestCase {
|
||||
public function testEmptyArray() {
|
||||
$values = [];
|
||||
$invoked = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user