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:
|
services:
|
||||||
- postgresql
|
- postgresql
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
|
- docker
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- language: python
|
- language: python # Backend test for on-premise
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
before_install:
|
before_install:
|
||||||
|
@ -36,3 +37,14 @@ matrix:
|
||||||
- ./wait-for-es
|
- ./wait-for-es
|
||||||
- alembic upgrade head
|
- alembic upgrade head
|
||||||
- py.test
|
- 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