diff --git a/.travis.yml b/.travis.yml index 917d436..6f5f261 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,11 @@ language: node_js node_js: -- 8.6.0 -- node -env: -- WEBPACK_VERSION= -- WEBPACK_VERSION=4 -before_script: -- if [[ -n "$WEBPACK_VERSION" ]]; then npm install --no-save webpack@$WEBPACK_VERSION; - fi + - "node" + +cache: npm + +script: npm run build + branches: only: - production