From 01abb4e78e2ef69a83d50037d558e0b274f8245b Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 31 Jan 2020 15:33:05 +0000 Subject: [PATCH] first shot enabling travis CI --- .travis.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..fe83337 --- /dev/null +++ b/.travis.yml @@ -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