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:
|
|
|
|
- "7.3.0"
|
2017-01-17 21:56:47 -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:
|
2017-01-17 21:59:19 -08:00
|
|
|
- "mkdir -p ./.config"
|
|
|
|
- "cp ./.ci-files/default.yml ./.config"
|
|
|
|
- "cp ./.ci-files/test.yml ./.config"
|
2017-01-16 16:56:42 -08:00
|
|
|
- "npm run build"
|
2017-01-17 21:56:47 -08:00
|
|
|
|
2016-12-28 17:44:50 -08:00
|
|
|
env:
|
|
|
|
- CXX=g++-4.8
|
2017-01-17 21:56:47 -08:00
|
|
|
|
2016-12-28 17:44:50 -08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
2017-01-17 21:56:47 -08:00
|
|
|
|
2016-12-28 14:49:51 -08:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|