diff --git .travis.yml .travis.yml
new file mode 100644
index 0000000..742f35e
|
-
|
+
|
|
| | 1 | language: php |
| | 2 | |
| | 3 | php: |
| | 4 | - "5.2" |
| | 5 | - "5.3" |
| | 6 | - "5.4" |
| | 7 | - "5.5" |
| | 8 | |
| | 9 | before_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 | |
| | 19 | script: grunt test |
| | 20 | No newline at end of file |