File tree Expand file tree Collapse file tree 5 files changed +46
-36
lines changed Expand file tree Collapse file tree 5 files changed +46
-36
lines changed Original file line number Diff line number Diff line change 1
1
/.gitattributes export-ignore
2
+ /.github /workflows / export-ignore
2
3
/.gitignore export-ignore
3
- /.travis.yml export-ignore
4
4
/examples / export-ignore
5
5
/phpunit.xml.dist export-ignore
6
6
/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 }})
10
+ runs-on : ubuntu-20.04
11
+ env :
12
+ LOGIN : username:password@localhost
13
+ strategy :
14
+ matrix :
15
+ php :
16
+ - 7.4
17
+ - 7.3
18
+ - 7.2
19
+ - 7.1
20
+ - 7.0
21
+ - 5.6
22
+ - 5.5
23
+ - 5.4
24
+ - 5.3
25
+ steps :
26
+ - uses : actions/checkout@v2
27
+ - uses : shivammathur/setup-php@v2
28
+ with :
29
+ php-version : ${{ matrix.php }}
30
+ coverage : xdebug
31
+ - run : sudo apt-get -qq update || true # update package list and ignore temporary network errors
32
+ - run : sudo apt-get --no-install-recommends -qq install -y asterisk
33
+ - run : sudo cp tests/username.conf /etc/asterisk/manager.d/username.conf
34
+ - run : sudo /etc/init.d/asterisk reload
35
+ - run : composer install
36
+ - run : sudo /etc/init.d/asterisk status || sudo /etc/init.d/asterisk start
37
+ - run : sudo /etc/init.d/asterisk status || sleep 2
38
+ - run : vendor/bin/phpunit --coverage-text
39
+ if : ${{ matrix.php >= 7.3 }}
40
+ - run : vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy
41
+ if : ${{ matrix.php < 7.3 }}
Original file line number Diff line number Diff line change 1
- /vendor
2
1
/composer.lock
2
+ /vendor /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # clue/reactphp-ami [ ![ Build Status] ( https://travis-ci.org/clue/reactphp-ami.svg?branch=master )] ( https://travis-ci.org/clue/reactphp-ami )
1
+ # clue/reactphp-ami
2
+
3
+ [ ![ CI status] ( https://github.com/clue/reactphp-ami/workflows/CI/badge.svg )] ( https://github.com/clue/reactphp-ami/actions )
2
4
3
5
Streaming, event-driven access to the Asterisk Manager Interface (AMI),
4
6
built on top of [ ReactPHP] ( https://reactphp.org ) .
You can’t perform that action at this time.
0 commit comments