https://github.com/PressForward/pressforward
Raw File
Tip revision: f89cc3b868e68c09e463bdbc112d471c52afcda0 authored by Aram Zucker-Scharff on 04 March 2015, 21:44:29 UTC
uptick version
Tip revision: f89cc3b
.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


back to top