From 3976072cb6daa8be01c17ba56b6f2ca3cbd86e06 Mon Sep 17 00:00:00 2001 From: jliddev Date: Sat, 21 Nov 2020 23:40:44 -0600 Subject: [PATCH] Update .travis.yml --- .travis.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 194f2add..b30395d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,3 @@ -if: (type = pull_request AND branch IN (develop)) os: - linux language: node_js @@ -7,5 +6,14 @@ node_js: install: - npm install -g @angular/cli - cd ./wowup-electron && npm install -script: - - ng lint + +jobs: + include: + - stage: test + if: os = linux + script: + - ng lint + - stage: build + if: os = linux AND type = pull_request AND branch IN (develop) + script: + - ng test --watch=false --include='src/locales.spec.ts'