Make WordPress Core

Ticket #26364: ticket-26364-travis-ci.patch

File ticket-26364-travis-ci.patch, 759 bytes (added by bpetty, 11 years ago)
  • new file .travis.yml

    diff --git .travis.yml .travis.yml
    new file mode 100644
    index 0000000..742f35e
    - +  
     1language: php
     2
     3php:
     4    - "5.2"
     5    - "5.3"
     6    - "5.4"
     7    - "5.5"
     8
     9before_script:
     10    - mysql -e "CREATE DATABASE wordpress_tests;" -uroot
     11    - cp wp-tests-config-sample.php wp-tests-config.php
     12    - sed -i "s/youremptytestdbnamehere/wordpress_tests/" wp-tests-config.php
     13    - sed -i "s/yourusernamehere/travis/" wp-tests-config.php
     14    - sed -i "s/yourpasswordhere//" wp-tests-config.php
     15    - svn checkout https://plugins.svn.wordpress.org/wordpress-importer/trunk tests/phpunit/data/plugins/wordpress-importer
     16    - npm install -g grunt-cli
     17    - npm install
     18
     19script: grunt test
     20 No newline at end of file