Changeset 8017
- Timestamp:
- 03/02/2014 12:21:45 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.travis.yml
r8015 r8017 8 8 9 9 env: 10 - WP_VERSION=master WP_MULTISITE=0 11 - WP_VERSION=3.8.1 WP_MULTISITE=0 12 - WP_VERSION=3.7.1 WP_MULTISITE=0 13 - WP_VERSION=3.6.1 WP_MULTISITE=0 14 - WP_VERSION=master WP_MULTISITE=1 15 - WP_VERSION=3.8.1 WP_MULTISITE=1 16 - WP_VERSION=3.7.1 WP_MULTISITE=1 17 - WP_VERSION=3.6.1 WP_MULTISITE=1 10 - WP_VERSION=trunk WP_MULTISITE=0 11 - WP_VERSION=tags/3.8.1 WP_MULTISITE=0 12 - WP_VERSION=tags/3.7.1 WP_MULTISITE=0 13 - WP_VERSION=trunk WP_MULTISITE=1 14 - WP_VERSION=tags/3.8.1 WP_MULTISITE=1 15 - WP_VERSION=tags/3.7.1 WP_MULTISITE=1 18 16 19 17 before_script: 20 18 # set up WP install 21 19 - WP_CORE_DIR=/tmp/wordpress/ 22 - wget -nv -O /tmp/wordpress.tar.gz https://github.com/WordPress/WordPress/tarball/$WP_VERSION23 20 - mkdir -p $WP_CORE_DIR 24 - tar --strip-components=1 -zxmf /tmp/wordpress.tar.gz -C$WP_CORE_DIR21 - svn co --ignore-externals https://develop.svn.wordpress.org/$WP_VERSION $WP_CORE_DIR 25 22 - plugin_slug=$(basename $(pwd)) 26 - plugin_dir=$WP_CORE_DIR/ wp-content/plugins/$plugin_slug23 - plugin_dir=$WP_CORE_DIR/src/wp-content/plugins/$plugin_slug 27 24 - cd .. 28 25 - mv $plugin_slug $plugin_dir 29 # set up testing suite 30 - export WP_TESTS_DIR=/tmp/wordpress-tests/ 31 - svn co --ignore-externals http://unit-tests.svn.wordpress.org/trunk/ $WP_TESTS_DIR 32 - cd $WP_TESTS_DIR 26 # set up tests config 27 - cd $WP_CORE_DIR 33 28 - cp wp-tests-config-sample.php wp-tests-config.php 34 - sed -i "s:dirname( __FILE__ ) . '/wordpress/':'$WP_CORE_DIR':" wp-tests-config.php 35 - sed -i "s/yourdbnamehere/wordpress_test/" wp-tests-config.php 29 - sed -i "s/youremptytestdbnamehere/wordpress_test/" wp-tests-config.php 36 30 - sed -i "s/yourusernamehere/root/" wp-tests-config.php 37 31 - sed -i "s/yourpasswordhere//" wp-tests-config.php 38 - sed -i "s:// define( 'WP_DEBUG:define( 'WP_DEBUG:" wp-tests-config.php39 32 # set up database 40 33 - mysql -e 'CREATE DATABASE wordpress_test;' -uroot
Note: See TracChangeset
for help on using the changeset viewer.