Update .travis.yml

This commit is contained in:
jliddev
2020-11-21 23:40:44 -06:00
parent f7e397934e
commit 3976072cb6

View File

@@ -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'