mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-01-12 22:27:09 +08:00
29 lines
636 B
YAML
29 lines
636 B
YAML
language: node_js
|
|
|
|
node_js:
|
|
- 0.12
|
|
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -y quota quotatool supervisor
|
|
- sudo apt-get install -y python-pip python-m2crypto
|
|
- sudo pip install shadowsocks
|
|
- sudo mkdir /etc/shadowsocks
|
|
- ssh-keygen -b 2048 -t rsa -f ~/.ssh/id_rsa -q -N ''
|
|
- cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
|
|
- chmod -R 700 ~/.ssh
|
|
- cp sample/core.config.coffee config.coffee
|
|
|
|
script: npm test
|
|
|
|
services:
|
|
- mongodb
|
|
- redis-server
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/b718f15367b0c6a71f7c
|
|
on_success: always
|
|
on_failure: always
|