2018-01-25 09:03:05 +00:00
|
|
|
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
|
2018-01-26 18:57:19 +00:00
|
|
|
- sh build.sh -j4 :
|
|
|
|
timeout: 14400
|
|
|
|
environment:
|
|
|
|
OMR_TARGET: x86_64
|
|
|
|
- sh build.sh -j4 :
|
2018-01-26 14:11:47 +00:00
|
|
|
timeout: 14400
|
2018-01-26 18:57:19 +00:00
|
|
|
environment:
|
|
|
|
OMR_TARGET: rpi3
|
|
|
|
cache_directoried:
|
|
|
|
- "source"
|
|
|
|
- "feeds"
|
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
|