Florian Eitel
e1b3eb95ae
I can't run tests in travis and due to the bind9 dependency it's difficult to run on the local machine. Docker is tricky due to changing the nameserver to 127.0.0.1 but with the right parameter it works. There are still a handful of tests failing. I couldn't figure out why yet.
13 lines
207 B
Bash
Executable File
13 lines
207 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -euxo pipefail
|
|
|
|
cd /tmp && named -g -u named -c /etc/bind/named.conf.local &
|
|
|
|
cd /app
|
|
pip install -e .
|
|
pip install -r requirements.txt
|
|
|
|
pytest src/nsupdate || true
|
|
pylint src/nsupdate || true
|