1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/circle.yml

27 lines
782 B
YAML
Raw Normal View History

2018-01-25 09:03:05 +00:00
machine:
timezone: Europe/Paris
environment:
OMR_PATH: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/$CIRCLE_BRANCH
2018-01-25 18:45:49 +00:00
CPUS: $(grep -c processor /proc/cpuinfo)
2018-01-25 09:03:05 +00:00
dependencies:
override:
- sudo apt-get update
- sudo apt-get install -yq build-essential git unzip ncurses-dev libz-dev libssl-dev python subversion gettext gawk wget curl rsync perl
compile:
override:
2018-01-26 09:39:43 +00:00
- sh build.sh -j$CPUS :
2018-01-25 19:14:29 +00:00
timeout: 7200
2018-01-25 09:03:05 +00:00
test:
override:
- "true"
deployment:
dev:
branch: /.*/
commands:
- ssh -p $OMR_DEPLOY_PORT deploy@$OMR_DEPLOY_HOST mkdir -p deploy/$OMR_PATH
2018-01-25 11:12:36 +00:00
- rsync -av --delete-after source/bin/ -e "ssh -q -p $OMR_DEPLOY_PORT" deploy@$OMR_DEPLOY_HOST:deploy/$OMR_PATH