30 lines
788 B
YAML
30 lines
788 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 --folder=GameBuilds -b "$mfemail":"$mfpass" MarbleGame_Windows.zip
|
|
- plowup --folder=GameBuilds -b "$mfemail":"$mfpass" MarbleGame_Linux.zip
|