From de3ac52c69ac5e9b6b2550b1a1ec163c9508c65a Mon Sep 17 00:00:00 2001 From: Will Hunt <will@half-shot.uk> Date: Thu, 16 May 2019 17:35:34 +0100 Subject: [PATCH] Run linting first because it's quick --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a5192b8..4f63cd4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,15 +8,15 @@ cache: jobs: include: + # Lint doesn't need to build + - stage: lint + script: npm run lint + node_js: "12" - stage: unit tests # Test already builds script: npm run test node_js: "10" - node_js: "12" - - stage: lint - # Lint doesn't need to build - script: npm run lint - node_js: "12" - stage: coverage # Coverage does NOT build script: npm run build && npm run coverage -- GitLab