Add frontend tests(build only...)
This commit is contained in:
parent
dacbe75749
commit
f34bcd78c3
1 changed files with 13 additions and 1 deletions
14
.travis.yml
14
.travis.yml
|
@ -4,10 +4,11 @@ dist: trusty
|
|||
services:
|
||||
- postgresql
|
||||
- elasticsearch
|
||||
- docker
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- language: python
|
||||
- language: python # Backend test for on-premise
|
||||
python:
|
||||
- "3.6"
|
||||
before_install:
|
||||
|
@ -36,3 +37,14 @@ matrix:
|
|||
- ./wait-for-es
|
||||
- alembic upgrade head
|
||||
- py.test
|
||||
|
||||
- language: node_js # Frontend test
|
||||
node_js:
|
||||
- "8"
|
||||
before_install:
|
||||
- npm install -g yarn
|
||||
install:
|
||||
- cd client/
|
||||
- npm install
|
||||
script:
|
||||
- node build.js
|
||||
|
|
Reference in a new issue