diff --git a/.travis.yml b/.travis.yml index e1ed59d2a26..e20a2bc82c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,9 +21,6 @@ matrix: - php: 5.6 env: WP_VERSION=latest WP_MULTISITE=1 -before_install: - - composer self-update - before_script: - bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION - bash tests/bin/travis.sh before diff --git a/tests/bin/travis.sh b/tests/bin/travis.sh index c1e72432f7d..974c7e7e3ee 100644 --- a/tests/bin/travis.sh +++ b/tests/bin/travis.sh @@ -6,6 +6,8 @@ if [ $1 == 'before' ]; then # composer install fails in PHP 5.2 [ $TRAVIS_PHP_VERSION == '5.2' ] && exit; + composer self-update + # install php-coveralls to send coverage info composer init --require=satooshi/php-coveralls:0.7.0 -n composer install --no-interaction