-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #401 from humanmade/namespaces
Switch to using PHP namespaces
- Loading branch information
Showing
24 changed files
with
1,948 additions
and
1,592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
lib/ | ||
psalm/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,19 @@ | ||
# Travis CI Configuration File | ||
|
||
# Tell Travis CI we're using PHP | ||
language: php | ||
services: | ||
- docker | ||
|
||
cache: | ||
timeout: 1000 | ||
directories: | ||
- vendor | ||
|
||
notifications: | ||
email: false | ||
|
||
php: | ||
- 7.0 | ||
|
||
env: | ||
- WP_VERSION=latest WP_MULTISITE=0 | ||
|
||
matrix: | ||
include: | ||
- php: 7.0 | ||
env: WP_VERSION=latest WP_MULTISITE=1 | ||
|
||
# Clones WordPress and configures our testing environment. | ||
before_script: | ||
- bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 $WP_VERSION | ||
- printf "\n" | pecl install imagick | ||
- composer install | ||
- docker run --rm -v $PWD:/code --entrypoint='' humanmade/plugin-tester composer install | ||
|
||
script: | ||
- phpunit --coverage-clover clover.xml | ||
|
||
after_script: | ||
# Push coverage off to Codecov | ||
- ./tests/run-tests.sh --coverage-clover=coverage.xml | ||
- bash <(curl -s https://codecov.io/bash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
comment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.