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'