1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-14 20:31:54 +00:00
openmptcprouter/circle.yml
2018-01-26 22:53:41 +01:00

32 lines
972 B
YAML

machine:
timezone: Europe/Paris
environment:
OMR_PATH: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/$CIRCLE_BRANCH
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
- sh build.sh -j4 :
timeout: 14400
environment:
OMR_TARGET: x86_64
- sh build.sh -j4 :
timeout: 14400
environment:
OMR_TARGET: rpi3
OMR_KEEPBIN: yes
cache_directoried:
- "source"
- "feeds"
test:
override:
- "true"
deployment:
dev:
branch: /.*/
commands:
- ssh -p $OMR_DEPLOY_PORT deploy@$OMR_DEPLOY_HOST mkdir -p deploy/$OMR_PATH
- rsync -av --delete-after source/bin/ -e "ssh -q -p $OMR_DEPLOY_PORT" deploy@$OMR_DEPLOY_HOST:deploy/$OMR_PATH