general: branches: only: - master machine: services: - docker dependencies: override: # Install megacmd - git clone https://github.com/t3rm1n4l/megacmd.git - cd megacmd; make - sudo cp megacmd/megacmd /usr/local/bin - echo $megacmd > ~/.megacmd.json 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: - megacmd -force put MarbleGame_Windows.zip mega:/GameBuilds/ - megacmd -force put MarbleGame_Linux.zip mega:/GameBuilds/