py3x/.gitlab-ci.yml

33 lines
982 B
YAML

test:smolensk15:
image: smolensk15-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 python3-setuptools
- 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
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 python3-setuptools
- 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