forked from mozilla/fxa-auth-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (38 loc) · 825 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
language: node_js
node_js:
- "6"
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
env:
global:
- NODE_ENV=test
matrix:
- DB=memory
- DB=mysql
notifications:
email:
irc:
channels:
- "irc.mozilla.org#fxa-bots"
use_notice: false
skip_join: false
before_install:
- npm config set spin false
script:
- if [ $DB == "mysql" ]; then ./scripts/start-travis-auth-db-mysql.sh; fi
- COVERALLS_REPO_TOKEN=vKN3jjhAOwxkv9HG0VBX4EYIlWLPwiJ9d npm run test-ci
- npm run test-e2e
# Test fxa-auth-mailer
- grunt templates && git status -s | (! grep 'M lib/senders/templates/')
- grunt l10n-extract
# NSP check
- grunt nsp