Sharkey/.travis.yml

39 lines
550 B
YAML
Raw Normal View History

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