-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (29 loc) · 966 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
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#
# OpenCRVS is also distributed under the terms of the Civil Registration
# & Healthcare Disclaimer located at http://opencrvs.org/license.
#
# Copyright (C) The OpenCRVS Authors. OpenCRVS and the OpenCRVS
# graphic logo are (registered/a) trademark(s) of Plan International.
language: node_js
dist: bionic
node_js:
- 'lts/*'
env:
- CI=true
jobs:
include:
- stage: tests (unit)
script: yarn test
after_success:
- npm install codecov -g
- codecov
before_install: npm install -g yarn
- if: type = pull_request
before_install: npm install -g yarn && echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
addons:
apt:
packages:
- libgconf-2-4