Skip to content

Commit

Permalink
use svn to checkout WordPress
Browse files Browse the repository at this point in the history
  • Loading branch information
rnagle committed Dec 4, 2014
1 parent 600d133 commit 8a132d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ branches:
# Clones WordPress and configures our testing environment.
before_script:
- export SLUG=$(basename $(pwd))
- git clone https://github.com/tierra/wordpress.git $WP_CORE_DIR
- svn co --quiet http://develop.svn.wordpress.org/tags/$WP_VERSION $WP_CORE_DIR
- cd ..
- mv $SLUG "$WP_CORE_DIR/src/wp-content/themes/$SLUG"
- cd $WP_CORE_DIR
- git checkout $WP_VERSION
- mysql -e "CREATE DATABASE wordpress_tests;" -uroot
- cp wp-tests-config-sample.php wp-tests-config.php
- sed -i "s:dirname( __FILE__ ) . '/src/':'$WP_CORE_DIR/src/':" wp-tests-config.php
Expand Down

0 comments on commit 8a132d4

Please sign in to comment.