Skip to content

Commit

Permalink
Merge pull request #52 from pantheon-systems/update-build-matrix-php-7-4
Browse files Browse the repository at this point in the history
Update build matrix to include PHP 7.4
  • Loading branch information
danielbachhuber authored Oct 28, 2019
2 parents 0f714e6 + b371863 commit d112407
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,20 @@ cache:

matrix:
include:
- php: 7.4snapshot
env: WP_VERSION=nightly
- php: 7.3
env: WP_VERSION=latest
# - php: 7.3
# env: WP_TRAVISCI=phpcs
- php: 7.3
env: WP_TRAVISCI=nightly
- php: 7.2
env: WP_VERSION=latest
- php: 7.2
- php: 7.1
env: WP_VERSION=latest
- php: 7.1
env: WP_VERSION=4.9
- php: 7.2
env: WP_VERSION=trunk

before_script:
- export PATH="$HOME/.composer/vendor/bin:$PATH"
Expand Down
2 changes: 1 addition & 1 deletion pantheon-hud.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
$last = array_pop( $parts ); // File should be 'class-[...].php'
$last = 'class-' . $last . '.php';
$parts[] = $last;
$file = dirname( __FILE__ ) . '/inc/' . str_replace( '_', '-', strtolower( implode( $parts, '/' ) ) );
$file = dirname( __FILE__ ) . '/inc/' . str_replace( '_', '-', strtolower( implode( '/', $parts ) ) );
if ( file_exists( $file ) ) {
require $file;
}
Expand Down

0 comments on commit d112407

Please sign in to comment.