From 5e14491a2e3d40336e5d569fc412b0eb3e28ac85 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 2 Dec 2013 19:41:26 +0000 Subject: [PATCH] Add a Travis CI configuration file. props bpetty. fixes #26364. git-svn-id: https://develop.svn.wordpress.org/trunk@26534 602fd350-edb4-49c9-b593-d223f7449a82 --- .travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..742f35ea8b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: php + +php: + - "5.2" + - "5.3" + - "5.4" + - "5.5" + +before_script: + - mysql -e "CREATE DATABASE wordpress_tests;" -uroot + - cp wp-tests-config-sample.php wp-tests-config.php + - sed -i "s/youremptytestdbnamehere/wordpress_tests/" wp-tests-config.php + - sed -i "s/yourusernamehere/travis/" wp-tests-config.php + - sed -i "s/yourpasswordhere//" wp-tests-config.php + - svn checkout https://plugins.svn.wordpress.org/wordpress-importer/trunk tests/phpunit/data/plugins/wordpress-importer + - npm install -g grunt-cli + - npm install + +script: grunt test \ No newline at end of file