File tree Expand file tree Collapse file tree 5 files changed +52
-43
lines changed
Expand file tree Collapse file tree 5 files changed +52
-43
lines changed Original file line number Diff line number Diff line change 11/.gitattributes export-ignore
2+ /.github / export-ignore
23/.gitignore export-ignore
3- /.travis.yml export-ignore
44/examples export-ignore
55/phpunit.xml.dist export-ignore
66/phpunit.xml.legacy export-ignore
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ PHPUnit :
9+ name : PHPUnit (PHP ${{ matrix.php }} on ${{ matrix.os }})
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ matrix :
13+ os :
14+ - ubuntu-20.04
15+ - windows-2019
16+ php :
17+ - 7.4
18+ - 7.3
19+ - 7.2
20+ - 7.1
21+ - 7.0
22+ - 5.6
23+ - 5.5
24+ - 5.4
25+ - 5.3
26+ steps :
27+ - uses : actions/checkout@v2
28+ - uses : shivammathur/setup-php@v2
29+ with :
30+ php-version : ${{ matrix.php }}
31+ coverage : xdebug
32+ - run : composer install
33+ - run : vendor/bin/phpunit --coverage-text
34+ if : ${{ matrix.php >= 7.3 }}
35+ - run : vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy
36+ if : ${{ matrix.php < 7.3 }}
37+ - run : php examples/13-benchmark-throughput.php
38+
39+ PHPUnit-hhvm :
40+ name : PHPUnit (HHVM)
41+ runs-on : ubuntu-18.04
42+ continue-on-error : true
43+ steps :
44+ - uses : actions/checkout@v2
45+ - uses : azjezz/setup-hhvm@v1
46+ with :
47+ version : lts-3.30
48+ - run : hhvm $(which composer) require phpunit/phpunit:^5 --dev # requires legacy phpunit
49+ - run : hhvm vendor/bin/phpunit
50+ - run : hhvm examples/13-benchmark-throughput.php
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# Child Process
22
3- [ ![ Build Status ] ( https://travis-ci.org /reactphp/child-process.svg?branch=master )] ( https://travis-ci.org /reactphp/child-process )
3+ [ ![ CI status ] ( https://github.com /reactphp/child-process/workflows/CI/badge .svg )] ( https://github.com /reactphp/child-process/actions )
44
55Event-driven library for executing child processes with
66[ ReactPHP] ( https://reactphp.org/ ) .
Original file line number Diff line number Diff line change @@ -430,10 +430,6 @@ public function testProcessWithEnv()
430430 $ this ->markTestSkipped ('Process pipes not supported on Windows ' );
431431 }
432432
433- if (getenv ('TRAVIS ' )) {
434- $ this ->markTestSkipped ('Cannot execute PHP processes with custom environments on Travis CI. ' );
435- }
436-
437433 $ cmd = $ this ->getPhpBinary () . ' -r ' . escapeshellarg ('echo getenv("foo"), PHP_EOL; ' );
438434
439435 $ loop = $ this ->createLoop ();
You can’t perform that action at this time.
0 commit comments