2017-01-18 05:56:47 +00:00
|
|
|
# travis file
|
|
|
|
# https://docs.travis-ci.com/user/customizing-the-build
|
|
|
|
|
2016-12-28 22:49:51 +00:00
|
|
|
language: node_js
|
2017-01-18 05:56:47 +00:00
|
|
|
|
2016-12-28 22:49:51 +00:00
|
|
|
node_js:
|
|
|
|
- "7.3.0"
|
2017-01-18 05:56:47 +00:00
|
|
|
|
2017-01-04 06:23:16 +00:00
|
|
|
services:
|
|
|
|
- mongodb
|
|
|
|
- redis-server
|
2017-01-18 05:56:47 +00:00
|
|
|
|
2016-12-28 22:49:51 +00:00
|
|
|
before_script:
|
2017-01-17 00:37:31 +00:00
|
|
|
- "mkdir -p ./.config && cp ./.ci-files/default.yml ./.config && cp ./.ci-files/test.yml ./.config"
|
2017-01-17 00:56:42 +00:00
|
|
|
- "npm run build"
|
2017-01-18 05:56:47 +00:00
|
|
|
|
2016-12-29 01:44:50 +00:00
|
|
|
env:
|
|
|
|
- CXX=g++-4.8
|
2017-01-18 05:56:47 +00:00
|
|
|
|
2016-12-29 01:44:50 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
2017-01-18 05:56:47 +00:00
|
|
|
|
2016-12-28 22:49:51 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|