Saxum/circle.yml
2014-11-27 13:32:51 +01:00

30 lines
808 B
YAML

general:
branches:
only:
- master
machine:
services:
- docker
dependencies:
override:
- git clone https://code.google.com/p/plowshare/ plowshare
- cd plowshare; sudo make install
database:
override:
test:
override:
- docker run -v ~/swp:/swp/swp -w=/swp/swp -u=$(id -u) faerbit/swp ./package.sh linux
- docker run -v ~/swp:/swp/swp -w=/swp/swp -u=$(id -u) faerbit/swp ./package.sh windows
- cp MarbleGame_Windows.zip MarbleGame_Linux.zip $CIRCLE_ARTIFACTS
deployment:
master:
branch: master
commands:
- plowup mediafire --folder=GameBuilds -b "$mfemail":"$mfpass" MarbleGame_Windows.zip
- plowup mediafire --folder=GameBuilds -b "$mfemail":"$mfpass" MarbleGame_Linux.zip