py3x/.gitlab-ci.yml

32 lines
966 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
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