Skip to content

Commit

Permalink
first shot enabling travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Jan 31, 2020
1 parent ec41926 commit 01abb4e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .travis.yml
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

0 comments on commit 01abb4e

Please sign in to comment.