mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 18:23:58 +02:00
35 lines
525 B
YAML
35 lines
525 B
YAML
# travis file
|
|
# https://docs.travis-ci.com/user/customizing-the-build
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
- "7.6.0"
|
|
|
|
env:
|
|
- CXX=g++-4.8 NODE_ENV=production
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-4.8
|
|
- graphicsmagick
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
|
|
services:
|
|
- mongodb
|
|
- redis-server
|
|
|
|
before_script:
|
|
- mkdir ./.config
|
|
- cp ./.travis/default.yml ./.config
|
|
- cp ./.travis/test.yml ./.config
|
|
- npm run build
|
|
|
|
after_success:
|
|
- ./.travis/after_success.sh
|