forked from IBM/secret-map-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
46 lines (39 loc) · 897 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
language: node_js
node_js: lts/*
sudo: required
services:
- docker
- mongodb
addons:
apt:
sources:
- debian-sid
packages:
- shellcheck
matrix:
fast_finish: true
# env:
# - TEST_RUN="./tests/test-docker.sh"
before_install:
- npm install eslint html-lint csslint
- sudo pip install yamllint
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install: true
before_script:
- "./tests/test-csslint.sh"
- "./tests/test-eslint.sh"
- "./tests/test-html-lint.sh"
- "./tests/test-shellcheck.sh"
- "./tests/test-yamllint.sh"
jobs:
include:
- script: ./tests/test-docker.sh
- script: >
npm install --prefix containers/map-api &&
npm test --prefix containers/map-api
- script: >
npm install --prefix containers/front-end &&
npm test --prefix containers/front-end