mirror of
https://github.com/danog/amp.git
synced 2025-01-22 13:21:16 +01:00
Only cache dist files on Travis and use --prefer-dist
This commit is contained in:
parent
9def47e50d
commit
c838a0ae8f
@ -29,7 +29,7 @@ install:
|
||||
make install;
|
||||
popd;
|
||||
echo "extension=uv.so" >> "$(php -r 'echo php_ini_loaded_file();')";
|
||||
|
||||
|
||||
- curl -LS https://pecl.php.net/get/ev | tar -xz;
|
||||
pushd ev-*;
|
||||
phpize;
|
||||
@ -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:
|
||||
@ -60,7 +60,7 @@ script:
|
||||
after_script:
|
||||
- composer require satooshi/php-coveralls dev-master
|
||||
- php vendor/bin/coveralls -v
|
||||
|
||||
|
||||
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