Commit 5078115b authored by Petr Špaček's avatar Petr Špaček Committed by Tomas Krizek
Browse files

CI: accommodate changes from py.test migration

Also, I've found out that knot-resolver in Debian stable repos is so old
that it does not make sense to test on it anymore.

CI now compiles latest kresd master and does comparison on it.
parent 170dff85
......@@ -62,12 +62,20 @@ test:unittests:
- linux
- amd64
# changes in Deckard itself must not change result of tests
stage: test
# test kresd binary
- git clone --depth=1 /tmp/kresd-local-build
- GIT_DIR=/tmp/kresd-local-build/.git git log -1
- ( cd /tmp/kresd-local-build ; git submodule update --init --recursive )
- PREFIX=/tmp/.local make -C /tmp/kresd-local-build -k all
- PREFIX=/tmp/.local make -C /tmp/kresd-local-build install
# compare results from latest Deckard with results from merge base
- cp ci/ /tmp
- cp ci/ /tmp
- /tmp/ $(pwd)/
- LD_LIBRARY_PATH=/tmp/.local/lib PATH=/tmp/.local/sbin:$PATH /tmp/ $(pwd)/
when: always
expire_in: '1 hour'
......@@ -90,7 +98,7 @@ test:latest:kresd:
- ( cd kresd-local-build ; git submodule update --init --recursive )
- PREFIX=$(pwd)/.local make -C kresd-local-build -k all
- PREFIX=$(pwd)/.local make -C kresd-local-build install
- TMPDIR=$(pwd) LD_LIBRARY_PATH=$(pwd)/.local/lib DAEMON=$(pwd)/.local/sbin/kresd ./ -n $(nproc)
- TMPDIR=$(pwd) LD_LIBRARY_PATH=$(pwd)/.local/lib PATH=$(pwd)/.local/sbin:$PATH ./ -n $(nproc)
when: on_failure
expire_in: 1 week
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment