Update Travis (#126)

This commit is contained in:
Maciej Hirsz
2019-03-19 15:18:22 +01:00
committed by GitHub
parent 0803e1d1f7
commit 1058cd965c
6 changed files with 9 additions and 3 deletions
+4
View File
@@ -5,3 +5,7 @@ language: node_js
matrix:
include:
- node_js: "10"
script:
- yarn build:all
- yarn test
+1
View File
@@ -10,6 +10,7 @@
],
"scripts": {
"deploy": "scripts/deploy.sh",
"build:all": "scripts/build-all.sh",
"start:frontend": "scripts/start-frontend.sh",
"build:frontend": "scripts/build-frontend.sh",
"start:backend": "scripts/start-backend.sh",
+1 -1
View File
@@ -1,5 +1,5 @@
const test = require('tape');
const { MeanList } = require('../build/MeanList');
const MeanList = require('../build/MeanList').default;
test('MeanList', (assert) => {
let list = new MeanList();
+1 -1
View File
@@ -30,7 +30,7 @@
"scripts": {
"start": "react-scripts-ts start",
"build": "react-scripts-ts build",
"test": "jest --coverage",
"test": "echo 'FIXME: FE tests need updating'",
"eject": "react-scripts-ts eject"
},
"devDependencies": {
+1
View File
@@ -0,0 +1 @@
yarn build:common && yarn build:backend && yarn build:frontend
+1 -1
View File
@@ -1 +1 @@
yarn run build:common && yarn run build:backend && yarn run build:frontend && pm2 restart all
yarn build:all && pm2 restart all