blurts-server/.travis.yml

40 строки
973 B
YAML
Исходник Обычный вид История

dist: xenial
services:
- postgresql
addons:
postgresql: 9.6
matrix:
include:
2019-05-07 00:09:14 +03:00
- name: "js lint"
2019-02-05 15:57:20 +03:00
language: node_js
2020-04-22 20:08:09 +03:00
node_js: 10
2019-05-07 00:09:14 +03:00
script: "npm run lint:js"
- name: "css lint"
language: node_js
2020-04-22 20:08:09 +03:00
node_js: 10
2019-05-07 00:09:14 +03:00
script: "npm run lint:css"
- name: "npm audit"
language: node_js
2020-04-22 20:08:09 +03:00
node_js: 10
2019-05-07 00:09:14 +03:00
script: "npm run lint:audit"
- name: "tests"
language: node_js
2020-04-22 20:08:09 +03:00
node_js: 10
env:
- NODE_ENV=tests
install:
- npm install
before_script:
- cp .env-dist .env
- createdb test-blurts
- npm install npm@latest -g
- name: "l10n lint"
language: python
install:
- sudo pip install compare-locales
script:
2019-05-10 01:20:06 +03:00
- moz-l10n-lint l10n.toml
- compare-locales l10n.toml . `ls locales`