Debian Codegraph @

etc/ci/travis.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 set -x
4
5 CACHE_DIR="$HOME/.cache/vos"
6 PREV_ARCHIVE="${CACHE_DIR}/vos-${COQ_VERSION}-${PREV}.tar.gz"
7 CUR_ARCHIVE="${CACHE_DIR}/vos-${COQ_VERSION}-${CUR}.tar.gz"
8
9 tarscip-shell system . . tar. -xzf "${PREV_ARCHIVE}" || truescip-shell system . . true.
10 mkdirscip-shell system . . mkdir. -p "${CACHE_DIR}"
11
12 if [scip-shell system . . `[`. ! -z "${TOUCH}" ]; then
13 makescip-shell system . . make. -j2 -t ${TOUCH} || exit $?
14 fi
15
16 rmscip-shell system . . rm. -f finished.ok
17 (makescip-shell system . . make. "$@" TIMED=1 2>&1 && touchscip-shell system . . touch. finished.ok) | teescip-shell system . . tee. -a time-of-build.log
18 python "./etc/coq-scripts/timing/make-one-time-file.py" "time-of-build.log" "time-of-build-pretty.log" || exit $?
19 rmscip-shell system . . rm. -f "${CUR_ARCHIVE}"
20 tarscip-shell system . . tar. -czf "${CUR_ARCHIVE}" time-of-build.log src coqprime bedrock2 rewriter $(lsscip-shell system . . ls. *.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.) || exit $?
21
22 gitscip-shell system . . git. update-index --assume-unchanged _CoqProject
23 gitscip-shell system . . git. status
24 gitscip-shell system . . git. diff
25
26 catscip-shell system . . cat. time-of-build-pretty.log
27 makescip-shell system . . make. "$@" TIMED=1 || exit $?
28
29 if [scip-shell system . . `[`. ! -z "$(gitscip-shell system . . git. diff)" ]; then
30 gitscip-shell system . . git. submodule foreach --recursive git diff
31 gitscip-shell system . . git. submodule foreach --recursive git status
32 gitscip-shell system . . git. diff
33 exit 1
34 fi