diff --git a/.travis.yml b/.travis.yml index 7d3debdd..b1f0232a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,13 +19,15 @@ env: LASTFM_API_SECRET: bar branches: - - master + - vue2 -before_script: +install: + - . $HOME/.nvm/nvm.sh + - nvm install stable + - nvm use stable + - npm install - composer self-update - composer install --prefer-source --no-interaction - - npm install -g npm@latest - - npm install script: - phpunit diff --git a/package.json b/package.json index 2e1a78c6..14199a76 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "gulp-util": "^3.0.7", "ismobilejs": "^0.4.0", "jquery": "^2.2.1", + "jsdom": "^9.2.1", "laravel-elixir": "^5.0.0", "local-storage": "^1.4.2", "lodash": "^4.6.1",