From 118ce5aa6681c0aef5c2b4630ca835ec7c6cf490 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Wed, 16 Oct 2019 14:56:09 +0200 Subject: [PATCH] Update .travis.yml --- .travis.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 50acfa14..0c44896a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,23 +20,18 @@ stages: - test - deploy +install: + - yarn install --frozen-lockfile + +script: + - yarn lint + - yarn docs:build + jobs: include: - - stage: test - name: Testing - - install: - - yarn install --frozen-lockfile - script: - - yarn lint - - yarn docs:build - - if: branch = master AND type = push stage: deploy name: Deploy node_js: node - - install: - - yarn install --frozen-lockfile script: - yarn semantic-release