Newer
Older
image: ralfjung/opam-ci:latest
script:
# prepare
- . build/opam-ci.sh coq 8.5.3
# build
cache:
key: "coq8.5"
paths:
- opamroot/
only:
- master
- ci
- timing
script:
# prepare
- . build/opam-ci.sh coq 8.6
- 'time make -j$CPU_CORES TIMED=y 2>&1 | tee build-log.txt'
- 'if fgrep Axiom build-log.txt >/dev/null; then exit 1; fi'
- 'cat build-log.txt | egrep "[a-zA-Z0-9_/-]+ \(user: [0-9]" | tee build-time.txt'
- 'if (( RANDOM % 10 == 0 )); then make validate; fi'
cache:
key: "coq8.6"
paths:
- opamroot/
only:
- master
- ci
- timing
artifacts:
paths:
- build-time.txt