2017-01-18 07:56:47 +02:00
|
|
|
# travis file
|
|
|
|
# https://docs.travis-ci.com/user/customizing-the-build
|
|
|
|
|
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:
|
|
|
|
- "7.3.0"
|
2017-01-18 07:56:47 +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:
|
2017-01-18 08:00:18 +02:00
|
|
|
- "mkdir ./.config"
|
2017-01-18 07:59:19 +02:00
|
|
|
- "cp ./.ci-files/default.yml ./.config"
|
|
|
|
- "cp ./.ci-files/test.yml ./.config"
|
2017-01-17 02:56:42 +02:00
|
|
|
- "npm run build"
|
2017-01-18 07:56:47 +02:00
|
|
|
|
2016-12-29 03:44:50 +02:00
|
|
|
env:
|
|
|
|
- CXX=g++-4.8
|
2017-01-18 07:56:47 +02:00
|
|
|
|
2016-12-29 03:44:50 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
2017-01-18 07:56:47 +02:00
|
|
|
|
2016-12-29 00:49:51 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|