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