Choices/.travis.yml

26 lines
546 B
YAML
Raw Normal View History

2016-07-02 14:04:38 +02:00
language: node_js
node_js:
- 10
2019-10-02 10:13:08 +02:00
addons:
apt:
packages:
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves
- libgconf-2-4
cache:
2019-10-02 10:13:08 +02:00
# Caches $HOME/.npm when npm ci is default script command
# Caches node_modules in all other cases
npm: true
directories:
- ~/.cache
2016-07-02 14:39:11 +02:00
install:
- npm ci
jobs:
include:
- stage: Judging bundle size
script: npm run bundlesize
- stage: Linting code
script: npm run lint
- stage: Running tests
2019-02-19 10:00:09 +01:00
script: npm run test