Multiple nodejs tests

This commit is contained in:
nothink 2018-08-01 13:43:11 +09:00
parent db41b9fbce
commit f48d1a1022

View file

@ -4,15 +4,17 @@ dist: trusty
services: services:
- postgresql - postgresql
- elasticsearch - elasticsearch
- docker
matrix: matrix:
include: include:
- language: python - language: python
# Backend test for on-premise / python 3.6
python: python:
- "3.6" - "3.6"
allow_failures: allow_failures:
- python: "3.6" - python: "3.6"
name: "Backend test for on-premise / 3.6" name: "Backend test for on-premise / python 3.6"
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
@ -39,11 +41,13 @@ matrix:
- alembic upgrade head - alembic upgrade head
- py.test - py.test
- language: python # Backend test for on-premise - language: python
# Backend test for on-premise / python 3.7-dev
python: python:
- "3.7-dev" - "3.7-dev"
allow_failures: allow_failures:
- python: "3.7-dev" - python: "3.7-dev"
name: "Backend test for on-premise / python 3.7-dev"
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
@ -70,8 +74,43 @@ matrix:
- alembic upgrade head - alembic upgrade head
- py.test - py.test
- language: node_js # Frontend test using npm - language: node_js
# Frontend test ugins npm / nodejs 6
node_js: node_js:
name: "Frontend test ugins npm / nodejs 6"
- "6"
install:
- cd client/
- npm install
script:
- node build.js
- language: node_js
# Frontend test ugins npm / nodejs 7
node_js:
name: "Frontend test ugins npm / nodejs 7"
- "7"
install:
- cd client/
- npm install
script:
- node build.js
- language: node_js
# Frontend test ugins npm / nodejs 8
node_js:
name: "Frontend test ugins npm / nodejs 8"
- "8"
install:
- cd client/
- npm install
script:
- node build.js
- language: node_js
# Frontend test ugins npm / nodejs 9
node_js:
name: "Frontend test ugins npm / nodejs 9"
- "9" - "9"
install: install:
- cd client/ - cd client/
@ -79,9 +118,11 @@ matrix:
script: script:
- node build.js - node build.js
- language: node_js # Frontend test using yarn - language: node_js
# Frontend test ugins yarn / nodejs 9
node_js: node_js:
- "9" - "9"
name: "Frontend test ugins yarn / nodejs 9"
before_install: before_install:
- npm install -g yarn - npm install -g yarn
install: install: