ACE3/circle.yml

36 lines
931 B
YAML
Raw Normal View History

2017-10-29 14:16:38 +00:00
version: 2
2018-02-06 14:04:48 +00:00
dependencies:
pre:
- sudo add-apt-repository ppa:koffeinflummi/armake; sudo apt-get update; sudo apt-get install armake
2017-10-29 14:16:38 +00:00
jobs:
build:
docker:
- image: python:3-alpine
steps:
- checkout
- run:
2018-02-06 14:00:17 +00:00
name: Build with armake
command: |
sudo add-apt-repository ppa:koffeinflummi/armake -y
sudo apt-get update -qq
sudo apt-get install armake -y
make --version
armake --version
make -j 3
- run:
name: Validate SQF and Config style
2017-10-29 14:16:38 +00:00
command: python tools/sqf_validator.py && python tools/config_style_checker.py
deployment:
docker:
- image: python:3-alpine
branch: master
requires:
- build
steps:
- checkout
- deploy:
name: Deploy
command: |
pip install pygithub pygithub3
python3 tools/deploy.py