Merge pull request #238 from woocommerce/remove-travis

Remove travis
This commit is contained in:
Emili Castells 2021-08-31 16:16:23 +02:00 committed by GitHub
commit f67ac6b697
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +0,0 @@
language: php
os: linux
dist: xenial
notifications:
email: false
php:
- 7.0
branches:
only:
- master
- trunk
- compat/ppxo
script: |
CHANGED_FILES=`git diff --name-only --diff-filter=ACMR $TRAVIS_COMMIT_RANGE | grep \\\\.php | awk '{print}' ORS=' '`
if [ "$CHANGED_FILES" != "" ]; then
composer global require woocommerce/woocommerce-sniffs --update-with-all-dependencies
$HOME/.config/composer/vendor/bin/phpcs -p $CHANGED_FILES
fi