diff --git a/.travis.yml b/.travis.yml index 36d3f2822..283de529f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,13 @@ language: php matrix: fast_finish: true + global: + - env: PHPUNIT=global include: - php: 7.2 + env: PHPUNIT=local - php: 7.1 + env: PHPUNIT=local - php: 7.0 - php: 5.6 - php: 5.5 @@ -28,7 +32,10 @@ branches: except: - "/^*-v[0-9]/" +install: + - if [[ $PHPUNIT = "local" ]]; then composer install; fi + before_script: - bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION -script: phpunit +script: if [[ $PHPUNIT = "local" ]]; then ./vendor/bin/phpunit; else phpunit; fi diff --git a/composer.json b/composer.json new file mode 100644 index 000000000..41d515f40 --- /dev/null +++ b/composer.json @@ -0,0 +1,24 @@ +{ + "name": "semperfiwebdesign/all-in-one-seo-pack", + "description": "All in One SEO Pack plugin for WordPress SEO ", + "keywords": [ + "wordpress", + "seo" + ], + "license": "GPL-2.0+", + "authors": [ + { + "name": "Michael Torbert", + "homepage": "https://semperplugins.com/all-in-one-seo-pack-pro-version/" + } + ], + "type": "wordpress-plugin", + "support": { + "issues": "https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues", + "source": "https://github.com/semperfiwebdesign/all-in-one-seo-pack" + }, + "require-dev": { + "phpunit/phpunit": "5.7" + }, + "prefer-stable": true +} \ No newline at end of file