2017-01-17 22:56:47 -07:00
|
|
|
# travis file
|
|
|
|
# https://docs.travis-ci.com/user/customizing-the-build
|
|
|
|
|
2017-12-27 17:49:30 -07:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2018-05-21 05:36:14 -06:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- l10n_master
|
|
|
|
|
2016-12-28 15:49:51 -07:00
|
|
|
language: node_js
|
2017-01-17 22:56:47 -07:00
|
|
|
|
2016-12-28 15:49:51 -07:00
|
|
|
node_js:
|
2018-05-17 15:40:15 -06:00
|
|
|
- 10.1.0
|
2017-01-17 22:56:47 -07:00
|
|
|
|
2017-02-28 04:41:16 -07: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 15:40:15 -06:00
|
|
|
- node_modules
|
2017-02-28 04:41:16 -07:00
|
|
|
|
2017-01-03 23:23:16 -07:00
|
|
|
services:
|
|
|
|
- mongodb
|
|
|
|
- redis-server
|
2017-01-17 22:56:47 -07:00
|
|
|
|
2016-12-28 15:49:51 -07:00
|
|
|
before_script:
|
2018-05-17 15:40:38 -06:00
|
|
|
- npm install
|
2017-05-23 18:37:26 -06:00
|
|
|
|
2018-03-29 01:35:29 -06:00
|
|
|
# 設定ファイルを配置
|
2017-02-28 04:44:03 -07:00
|
|
|
- cp ./.travis/default.yml ./.config
|
|
|
|
- cp ./.travis/test.yml ./.config
|
2017-05-23 23:16:17 -06:00
|
|
|
|
2018-03-14 23:36:31 -06:00
|
|
|
- travis_wait npm run build
|