2017-01-17 23:56:47 -06:00
|
|
|
# travis file
|
|
|
|
# https://docs.travis-ci.com/user/customizing-the-build
|
|
|
|
|
2017-12-27 18:49:30 -06:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2018-05-21 06:36:14 -05:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- l10n_master
|
|
|
|
|
2016-12-28 16:49:51 -06:00
|
|
|
language: node_js
|
2017-01-17 23:56:47 -06:00
|
|
|
|
2016-12-28 16:49:51 -06:00
|
|
|
node_js:
|
2018-10-24 16:16:49 -05:00
|
|
|
- 11.0.0
|
2017-01-17 23:56:47 -06:00
|
|
|
|
2017-02-28 05:41:16 -06:00
|
|
|
env:
|
|
|
|
- CXX=g++-4.8 NODE_ENV=production
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
2018-05-17 16:40:15 -05:00
|
|
|
- node_modules
|
2017-02-28 05:41:16 -06:00
|
|
|
|
2017-01-04 00:23:16 -06:00
|
|
|
services:
|
|
|
|
- mongodb
|
|
|
|
- redis-server
|
2017-01-17 23:56:47 -06:00
|
|
|
|
2016-12-28 16:49:51 -06:00
|
|
|
before_script:
|
2018-05-17 16:40:38 -05:00
|
|
|
- npm install
|
2017-05-23 19:37:26 -05:00
|
|
|
|
2018-03-29 02:35:29 -05:00
|
|
|
# 設定ファイルを配置
|
2017-02-28 05:44:03 -06:00
|
|
|
- cp ./.travis/default.yml ./.config
|
|
|
|
- cp ./.travis/test.yml ./.config
|
2017-05-24 00:16:17 -05:00
|
|
|
|
2018-03-15 00:36:31 -05:00
|
|
|
- travis_wait npm run build
|