diff --git a/.travis.yml b/.travis.yml index c458cdd66..fca6f65f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,24 +9,15 @@ node_js: matrix: fast_finish: true -before_install: - - npm install -g yarn@0.16.1 - # cache node modules cache: + yarn: true directories: - # yarn - - $HOME/.yarn-cache - # phenomic - node_modules - docs/node_modules - themes/phenomic-theme-base/node_modules - test-setup/node_modules -install: yarn - -script: yarn run test - after_success: yarn run coverage # for Yarn, to build some native deps