2014-11-25 21:06:55 +00:00
|
|
|
general:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2014-11-27 04:27:19 +00:00
|
|
|
|
|
|
|
machine:
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2014-11-25 20:11:05 +00:00
|
|
|
dependencies:
|
2014-11-25 20:10:18 +00:00
|
|
|
override:
|
2014-11-27 20:37:09 +00:00
|
|
|
# Set up dropbox_uploader
|
|
|
|
- curl "https://raw.githubusercontent.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh" -o dropbox_uploader.sh
|
|
|
|
- chmod +x dropbox_uploader.sh
|
|
|
|
- cat $db_uploader > ~/.dropbox_uploader
|
2014-11-25 20:21:13 +00:00
|
|
|
|
|
|
|
database:
|
|
|
|
override:
|
2014-11-25 20:10:18 +00:00
|
|
|
|
2014-11-25 20:01:11 +00:00
|
|
|
test:
|
2014-11-25 21:03:32 +00:00
|
|
|
override:
|
2014-11-27 04:35:45 +00:00
|
|
|
- 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
|
2014-11-27 11:09:45 +00:00
|
|
|
- cp MarbleGame_Windows.zip MarbleGame_Linux.zip $CIRCLE_ARTIFACTS
|
2014-11-25 21:03:32 +00:00
|
|
|
|
|
|
|
deployment:
|
2014-11-25 21:08:51 +00:00
|
|
|
master:
|
|
|
|
branch: master
|
2014-11-25 21:07:28 +00:00
|
|
|
commands:
|
2014-11-27 20:37:09 +00:00
|
|
|
- dropbox_uploader.sh upload -p MarbleGame_Windows.zip
|
|
|
|
- dropbox_uploader.sh upload -p MarbleGame_Linux.zip
|