https://github.com/PressForward/pressforward
Tip revision: c05f690500900a7b12bb16907efff284ad42e56c authored by Aram Zucker-Scharff on 26 February 2015, 03:32:56 UTC
Send to draft should not be available for contribs
Send to draft should not be available for contribs
Tip revision: c05f690
.travis.yml
language: php
php:
- 5.3
- 5.4
env:
- WP_VERSION=master WP_MULTISITE=0
- WP_VERSION=master WP_MULTISITE=1
- WP_VERSION=3.6.1 WP_MULTISITE=0
- WP_VERSION=3.6.1 WP_MULTISITE=1
- WP_VERSION=3.7.1 WP_MULTISITE=0
- WP_VERSION=3.7.1 WP_MULTISITE=1
- WP_VERSION=3.8.1 WP_MULTISITE=0
- WP_VERSION=3.8.1 WP_MULTISITE=1
- WP_VERSION=3.9.1 WP_MULTISITE=0
- WP_VERSION=3.9.1 WP_MULTISITE=1
before_install:
- git submodule update --init --recursive
before_script:
# set up WP install
- export WP_DEVELOP_DIR=/tmp/wordpress-develop/
- git clone git://develop.git.wordpress.org/trunk/ $WP_DEVELOP_DIR
- cd $WP_DEVELOP_DIR
- export WP_CORE_DIR=/tmp/wordpress-develop/src/
- cp wp-tests-config-sample.php wp-tests-config.php
- sed -i "s:dirname( __FILE__ ) . '/wordpress/':'$WP_CORE_DIR':" wp-tests-config.php
- sed -i "s/youremptytestdbnamehere/wordpress_test/" wp-tests-config.php
- sed -i "s/yourusernamehere/root/" wp-tests-config.php
- sed -i "s/yourpasswordhere//" wp-tests-config.php
- cat wp-tests-config.php
- cd -
# set up database
- mysql -e 'CREATE DATABASE wordpress_test;' -uroot
script: phpunit
notifications:
email:
recipients:
- boone@gorg.es
on_success: change
on_failure: always