2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-23 18:47:11 +00:00
vinyldns/bin/verify.sh

22 lines
456 B
Bash
Raw Permalink Normal View History

2018-07-27 10:18:29 -04:00
#!/bin/bash
echo 'Running tests...'
echo 'Stopping any docker containers...'
./bin/remove-vinyl-containers.sh
2018-07-27 10:18:29 -04:00
echo 'Starting up docker for integration testing and running unit and integration tests on all modules...'
sbt ";validate;verify"
verify_result=$?
echo 'Stopping any docker containers...'
./bin/remove-vinyl-containers.sh
2018-07-27 10:18:29 -04:00
if [ ${verify_result} -eq 0 ]
then
echo 'Verify successful!'
exit 0
else
echo 'Verify failed!'
exit 1
fi