2013-05-14 04:00:22 +04:00
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
2017-11-01 01:42:19 +03:00
|
|
|
- "8"
|
2013-05-14 04:00:22 +04:00
|
|
|
|
2016-04-13 21:52:14 +03:00
|
|
|
dist: trusty
|
2014-04-19 06:05:47 +04:00
|
|
|
|
2017-11-15 17:33:57 +03:00
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
|
2015-12-10 18:22:05 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2016-04-13 21:52:14 +03:00
|
|
|
- mysql-server-5.6
|
|
|
|
- mysql-client-core-5.6
|
|
|
|
- mysql-client-5.6
|
2015-12-10 18:22:05 +03:00
|
|
|
|
2015-09-10 22:45:48 +03:00
|
|
|
env:
|
2015-12-10 18:22:05 +03:00
|
|
|
matrix:
|
|
|
|
- DB=memory
|
|
|
|
- DB=mysql
|
2015-09-10 22:45:48 +03:00
|
|
|
|
2013-05-14 04:00:22 +04:00
|
|
|
notifications:
|
|
|
|
email:
|
2013-12-12 03:39:32 +04:00
|
|
|
- rfkelly@mozilla.com
|
2015-09-10 22:45:48 +03:00
|
|
|
- jrgm@mozilla.com
|
2013-05-14 04:00:22 +04:00
|
|
|
irc:
|
|
|
|
channels:
|
2015-07-01 07:30:04 +03:00
|
|
|
- "irc.mozilla.org#fxa-bots"
|
2013-05-14 04:00:22 +04:00
|
|
|
use_notice: false
|
|
|
|
skip_join: false
|
|
|
|
|
2013-05-17 04:13:01 +04:00
|
|
|
before_install:
|
2018-07-19 17:52:56 +03:00
|
|
|
- npm i -g npm@6
|
2014-08-01 00:19:59 +04:00
|
|
|
- npm config set spin false
|
2014-03-26 23:39:25 +04:00
|
|
|
|
2018-09-19 20:57:08 +03:00
|
|
|
install:
|
|
|
|
- npm ci
|
|
|
|
|
2014-03-26 23:39:25 +04:00
|
|
|
script:
|
2015-11-22 08:40:57 +03:00
|
|
|
- if [ $DB == "mysql" ]; then ./scripts/start-travis-auth-db-mysql.sh; fi
|
2018-05-23 03:25:16 +03:00
|
|
|
- npm run test-ci
|
2016-02-19 00:43:22 +03:00
|
|
|
- npm run test-e2e
|
2018-08-09 20:43:29 +03:00
|
|
|
- npm run test-scripts
|
2017-02-22 19:20:47 +03:00
|
|
|
# Test fxa-auth-mailer
|
2017-08-16 05:27:50 +03:00
|
|
|
- grunt templates && git status -s | (! grep 'M lib/senders/templates/')
|
2017-02-22 19:20:47 +03:00
|
|
|
- grunt l10n-extract
|
2018-09-27 00:15:02 +03:00
|
|
|
- npm run lint:deps
|