2017-01-17 21:56:47 -08:00
|
|
|
# travis file
|
|
|
|
# https://docs.travis-ci.com/user/customizing-the-build
|
|
|
|
|
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:
|
2017-02-22 13:19:49 -08:00
|
|
|
- "7.6.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:
|
|
|
|
- node_modules
|
|
|
|
|
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:
|
2017-01-17 22:15:22 -08:00
|
|
|
- mkdir ./.config
|
2017-02-28 03:44:03 -08:00
|
|
|
- cp ./.travis/default.yml ./.config
|
|
|
|
- cp ./.travis/test.yml ./.config
|
2017-02-27 07:36:11 -08:00
|
|
|
- npm run build
|
2017-01-17 21:56:47 -08:00
|
|
|
|
2017-02-27 06:32:14 -08:00
|
|
|
after_success:
|
2017-03-01 00:46:27 -08:00
|
|
|
- ./.travis/after_success.sh
|