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