Florian Eitel
a60f830927
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
191 B
Bash
Executable File
13 lines
191 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
|
|
|
|
pylint src/nsupdate
|
|
pytest src/nsupdate
|