ACE3/circle.yml

23 lines
708 B
YAML
Raw Normal View History

2017-10-29 14:16:38 +00:00
version: 2
jobs:
build:
docker:
- image: acemod/armake:master
2017-10-29 14:16:38 +00:00
steps:
- checkout
- run:
name: Validate SQF And Config style
command: python tools/sqf_validator.py && python tools/config_style_checker.py
2018-02-04 20:38:59 +00:00
- run:
name: Build
command: armake --version
2017-10-29 14:16:38 +00:00
- deploy:
2018-02-04 20:38:59 +00:00
name: Update documentation and translation statistics
2017-10-29 14:16:38 +00:00
command: |
2018-02-04 20:38:59 +00:00
if [ "${CIRCLE_BRANCH}" == "master" ] && [ "${CIRCLE_PROJECT_USERNAME}" == "acemod" ]; then
pip install pygithub pygithub3
python3 tools/deploy.py
else
echo "Skipping, not on acemod/ACE3 master branch..."
fi