Skip to content

Commit 01abb4e

Browse files
committed
first shot enabling travis CI
1 parent ec41926 commit 01abb4e

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.travis.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
language: php
2+
3+
php:
4+
- 7.2
5+
- 7.3
6+
7+
before_script:
8+
- git clone https://github.com/pmmp/pthreads.git
9+
- cd pthreads
10+
- git checkout 46962cf9c2d30b6e1e1ea50ca36de3df5d6d4e58
11+
- phpize
12+
- ./configure
13+
- make
14+
- make install
15+
- cd ..
16+
- echo "extension=pthreads.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
17+
- composer install --prefer-dist
18+
19+
script:
20+
- ./vendor/bin/phpstan analyze --no-progress
21+
22+
cache:
23+
directories:
24+
- vendor
25+
26+
notifications:
27+
email: false

0 commit comments

Comments
 (0)