diff options
author | Dmitry Patsura <[email protected]> | 2019-06-07 17:37:21 +0300 |
---|---|---|
committer | Dmitry Patsura <[email protected]> | 2019-06-07 17:37:21 +0300 |
commit | e0e1dbdced1255001d13cd940d636607c1c9139f (patch) | |
tree | 33a8e2e889b4adf6de528d02ad31465caff23e29 /.travis.yml | |
parent | 4229ef797ddd62f2bed7f2544043800c2def6a92 (diff) |
Feature(CI): Lint php code + exec rr get-binary
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index c3ad45b2..27a523f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,8 @@ install: - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" - php composer-setup.php - php composer.phar install --no-interaction --prefer-source + - find src/ -name "*.php" -print0 | xargs -0 -n1 -P8 php -l + - chmod +x src/bin/rr && src/bin/rr get-binary script: - go test -race -v -coverprofile=lib.txt -covermode=atomic @@ -40,26 +42,26 @@ jobs: before_install: - sudo add-apt-repository -y ppa:ondrej/php - sudo apt-get update - - sudo apt-get install -y php7.0-cli + - sudo apt-get install -y php7.0-cli php7.0-zip php7.0-curl - sudo cp `which php7.0` `which php` - stage: Test env: "PHP=7.1" before_install: - sudo add-apt-repository -y ppa:ondrej/php - sudo apt-get update - - sudo apt-get install -y php7.1-cli + - sudo apt-get install -y php7.1-cli php7.1-zip php7.1-curl - sudo cp `which php7.1` `which php` - stage: Test env: "PHP=7.2" before_install: - sudo add-apt-repository -y ppa:ondrej/php - sudo apt-get update - - sudo apt-get install -y php7.2-cli + - sudo apt-get install -y php7.2-cli php7.2-zip php7.2-curl - sudo cp `which php7.2` `which php` - stage: Test env: "PHP=7.3" before_install: - sudo add-apt-repository -y ppa:ondrej/php - sudo apt-get update - - sudo apt-get install -y php7.3-cli + - sudo apt-get install -y php7.3-cli php7.3-zip php7.3-curl - sudo cp `which php7.3` `which php`
\ No newline at end of file |