forked from mozilla/fxa-auth-db-mysql
/
.travis.yml
43 lines (35 loc) · 884 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
language: node_js
node_js:
- "6"
- "8"
dist: trusty
addons:
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
services:
- mysql
notifications:
email:
- dcoates@mozilla.com
- jrgm@mozilla.com
- rfkelly@mozilla.com
irc:
channels:
- "irc.mozilla.org#fxa-bots"
use_notice: false
skip_join: false
before_install:
- npm config set spin false
before_script:
- mysql -u root -e 'DROP DATABASE IF EXISTS fxa'
- npm i grunt-cli -g
- npm run outdated
- grunt nsp --force
script:
# 'npm run test-travis' runs all tests together to collect all coverage into one from mysql and db-server
- COVERALLS_REPO_TOKEN=mlOESL8slkePkodJpcvhF1AUKUH3llXi8 npm run test-travis
# memory tests are separate to avoid being included into coverage because they run through the same code
- npm run test-mem