diff --git a/.travis.yml b/.travis.yml index b2f4e36..7463110 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,19 @@ language: node_js + cache: + yarn: true directories: - - ~/.npm + - node_modules + notifications: email: false + node_js: - '8' -script: npm run validate -after_success: node src travis-after-success + +script: yarn run lint && yarn run test --no-watch --passWithNoTests && yarn run build +after_success: yarn run release + branches: only: - master