Skip to content

Commit

Permalink
Merge pull request #35 from jrfnl/feature/travis-build-against-php-7.2
Browse files Browse the repository at this point in the history
Build: run against php 7.2
  • Loading branch information
jrfnl committed Nov 30, 2017
2 parents 31d97e8 + 861566d commit 6abc30c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ matrix:
- php: '5.6'
env: GTEPHPFIVEFOUR=1
- php: '7.0'
env: GTEPHPFIVEFOUR=1 SNIFF=1
env: GTEPHPFIVEFOUR=1
- php: '7.1'
env: GTEPHPFIVEFOUR=1 SNIFF=1
- php: '7.2'
env: GTEPHPFIVEFOUR=1
- php: 'hhvm'
env: GTEPHPFIVEFOUR=1
Expand All @@ -51,8 +53,7 @@ before_install:
# Install CodeSniffer for WordPress Coding Standards checks.
- if [[ "$SNIFF" == "1" ]]; then git clone -b master --depth 1 https://github.com/squizlabs/PHP_CodeSniffer.git $PHPCS_DIR; fi
# Install WordPress Coding Standards.
# Temporarily set to `develop` to benefit from PHPCS 3.x compatibility. Move back to `master` once released.
- if [[ "$SNIFF" == "1" ]]; then git clone -b develop --depth 1 https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git $WPCS_DIR; fi
- if [[ "$SNIFF" == "1" ]]; then git clone -b master --depth 1 https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git $WPCS_DIR; fi
# Install PHPCompatibility Standards in a subdirectory of WPCS so we only need to run installed_paths once.
- if [[ "$SNIFF" == "1" ]]; then git clone -b master --depth 1 https://github.com/wimg/PHPCompatibility.git $PHPCOMPAT_DIR; fi
# Hop into CodeSniffer directory.
Expand Down

0 comments on commit 6abc30c

Please sign in to comment.