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