-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
language: php | ||
|
||
php: | ||
- 7.2 | ||
- 7.3 | ||
|
||
before_script: | ||
- git clone https://github.com/pmmp/pthreads.git | ||
- cd pthreads | ||
- git checkout 46962cf9c2d30b6e1e1ea50ca36de3df5d6d4e58 | ||
- phpize | ||
- ./configure | ||
- make | ||
- make install | ||
- cd .. | ||
- echo "extension=pthreads.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini | ||
- composer install --prefer-dist | ||
|
||
script: | ||
- ./vendor/bin/phpstan analyze --no-progress | ||
|
||
cache: | ||
directories: | ||
- vendor | ||
|
||
notifications: | ||
email: false |