Test for yarn

This commit is contained in:
nothink 2018-08-01 13:25:37 +09:00
parent b8522dae8e
commit 2c8ba2bfc9

View file

@ -4,7 +4,6 @@ dist: trusty
services: services:
- postgresql - postgresql
- elasticsearch - elasticsearch
- docker
matrix: matrix:
include: include:
@ -13,6 +12,7 @@ matrix:
- "3.6" - "3.6"
allow_failures: allow_failures:
- python: "3.6" - python: "3.6"
name: ""
before_install: before_install:
- sudo apt-get -y install software-properties-common - sudo apt-get -y install software-properties-common
- sudo add-apt-repository -y ppa:mc3man/trusty-media - sudo add-apt-repository -y ppa:mc3man/trusty-media
@ -72,16 +72,28 @@ matrix:
- alembic upgrade head - alembic upgrade head
- py.test - py.test
- language: node_js # Frontend test - language: python
python:
- "3.6"
script:
- sudo cat /.dockerenv
- language: node_js # Frontend test using npm
node_js: node_js:
- "6"
- "7"
- "8"
- "9" - "9"
# before_install:
# - npm install -g yarn
install: install:
- cd client/ - cd client/
- npm install - npm install
script: script:
- node build.js - node build.js
- language: node_js # Frontend test using yarn
node_js:
- "9"
before_install:
- npm install -g yarn
install:
- cd client/
- yarn install
script:
- node build.js