Skip to content

Commit cca4595

Browse files
committed
Attempt 2.
1 parent 3c96bfa commit cca4595

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ matrix:
2121
- php: 5.2
2222

2323
before_script:
24-
- curl -o ~/.nvm/nvm.sh https://raw.githubusercontent.com/creationix/nvm/v0.31.0/nvm.sh # update nvm
25-
- bash -c "nvm use 8.9.1" || true
26-
- bash -c "source ~/.nvm/nvm.sh; nvm install $NODE_JS_VERSION; node --version"
24+
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 8
2725
- composer install
2826
- npm install
2927
- bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION

0 commit comments

Comments
 (0)