fxa-auth-server/.travis.yml

86 строки
1.6 KiB
YAML
Исходник Обычный вид История

2013-05-14 04:00:22 +04:00
language: node_js
node_js:
- "8"
2013-05-14 04:00:22 +04:00
dist: trusty
sudo: true
services:
- memcached
- redis-server
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
2013-05-14 04:00:22 +04:00
notifications:
email:
2013-12-12 03:39:32 +04:00
- rfkelly@mozilla.com
- jrgm@mozilla.com
2013-05-14 04:00:22 +04:00
irc:
channels:
- "irc.mozilla.org#fxa-bots"
2013-05-14 04:00:22 +04:00
use_notice: false
skip_join: false
_aliases:
- &test
before_install:
- npm i -g npm@6
- npm config set spin false
- &fxa-auth-memory-test
env: DB=memory
<<: *test
- &fxa-auth-mysql-test
env: DB=mysql
<<: *test
- &fxa-oauth-memory-test
env: CXX=g++-4.8 NODE_ENV=test DB=memory
<<: *test
- &fxa-oauth-mysql-test
env: CXX=g++-4.8 NODE_ENV=test DB=mysql
<<: *test
jobs:
include:
- stage:
node_js: 8
<<: *fxa-auth-memory-test
install:
- npm ci
script:
- npm run test-ci
- npm run test-e2e
- NODE_ENV=test npm run test-scripts
- grunt templates && git status -s | (! grep 'M lib/senders/templates/')
- grunt l10n-extract
- npm run lint:deps
- stage:
node_js: 8
<<: *fxa-auth-mysql-test
install:
- npm ci
script:
- ./scripts/start-travis-auth-db-mysql.sh
- npm run test-ci
- npm run test-e2e
- stage:
node_js: 8
<<: *fxa-oauth-memory-test
install:
- cd fxa-oauth-server && npm ci && cd ..
script: cd fxa-oauth-server && npm test
- stage:
node_js: 8
<<: *fxa-oauth-memory-test
install:
- cd fxa-oauth-server && npm ci && cd ..
script: cd fxa-oauth-server && npm test