first commit

This commit is contained in:
darksun 2018-10-23 18:14:35 +08:00
parent e3d9855ba3
commit 5d2bc42cd0
2 changed files with 23 additions and 1 deletions

View File

@ -1,2 +1,21 @@
language: c
script: make -s check
script:
- make -s check
- make -s deploy
branches:
only:
- master
install:
- git clone --depth=1 https://github.com/LCTT/lctt-scripts
- sed -i "/ProjectRoot=/cProjectRoot=$(pwd)" ./lctt-scripts/lctt.cfg
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: status_badge
on:
branch: master

View File

@ -49,3 +49,6 @@ rule-translation-published:
[ $(shell egrep '^A\s*"?published/$(NAME_PATTERN)' $(CHANGE_FILE) | wc -l) = 1 ]
[ $(shell cat $(CHANGE_FILE) | wc -l) = 2 ]
echo 'Rule Matched: $(@)'
deploy:
echo 'deployed'