bin
7 years ago
config
7 years ago
controller
6 years ago
js
6 years ago
lib
6 years ago
style
6 years ago
tests
6 years ago
view
6 years ago
.travis.yml
7 years ago
addons.json
6 years ago
composer.json
7 years ago
composer.lock
7 years ago
cookiebot-addons-init.php
6 years ago
.travis.yml
23 lines
| 1 | # see http://about.travis-ci.org/docs/user/languages/php/ for more hints |
| 2 | language: php |
| 3 | |
| 4 | # list any PHP version you want to test against |
| 5 | php: |
| 6 | # aliased to a recent 5.4.x version |
| 7 | - '5.4' |
| 8 | - '5.6' |
| 9 | - '7.1' |
| 10 | |
| 11 | env: |
| 12 | - WP_PROJECT_TYPE=plugin WP_VERSION=latest WP_MULTISITE=0 WP_TEST_URL=http://localhost:12000 WP_TEST_USER=test WP_TEST_USER_PASS=test |
| 13 | |
| 14 | before_script: |
| 15 | # Install composer packages before trying to activate themes or plugins |
| 16 | # - composer install |
| 17 | |
| 18 | - git clone https://github.com/Seravo/wordpress-test-template wp-tests |
| 19 | - bash wp-tests/bin/install-wp-tests.sh test root '' localhost $WP_VERSION |
| 20 | |
| 21 | script: |
| 22 | - phpunit |
| 23 |