Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nosilver4u committed Aug 27, 2023
1 parent 94647f0 commit e254c82
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,11 @@ jobs:
include:
- php: 7.3
env: WP_VERSION=latest WP_MULTISITE=1 WPSNIFF=1
- php: 7.4
- php: 8.1
env: WP_VERSION=latest WP_MULTISITE=1 WPSNIFF=1
- php: 7.4
- php: 8.0
env: WP_VERSION=5.9 WP_MULTISITE=0

#before_install:
# - sudo apt-get update
# - sudo apt-get -y install libonig4

before_script:
- export PATH="$HOME/.config/composer/vendor/bin:$PATH"
- phpenv config-rm xdebug.ini
Expand All @@ -47,9 +43,7 @@ before_script:
- |
if [[ "$WPSNIFF" == "1" ]]; then
composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
composer global require phpcompatibility/php-compatibility:"dev-develop as 9.99.99"
composer global require wp-coding-standards/wpcs phpcompatibility/phpcompatibility-wp
composer global require dealerdirect/phpcodesniffer-composer-installer
composer global require --dev wp-coding-standards/wpcs phpcompatibility/phpcompatibility-wp
phpcs -i
fi
- |
Expand Down

0 comments on commit e254c82

Please sign in to comment.