Правила для автоматической проверки

This commit is contained in:
Andrei Astafev 2019-07-04 12:01:45 +03:00
parent 56f6527595
commit 9be3d414ba

16
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,16 @@
test:bionic:
image: bionic-dev
only:
- schedules
before_script:
- "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
- apt-get update
- apt-get -y install python3-pytest python3-sphinx
- git submodule sync
- git submodule update --recursive --init
script:
- "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
- make build
- make tests
- make html