mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-29 10:13:13 -04:00
Update .travis.yml
This commit is contained in:
14
.travis.yml
14
.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'
|
||||
|
||||
Reference in New Issue
Block a user