Test if the postorius/hk is available too.
This commit is contained in:
@@ -23,7 +23,7 @@ before_script:
|
||||
- docker logs mailman-core
|
||||
|
||||
script:
|
||||
- tests/core.sh
|
||||
- sh tests/test.sh
|
||||
|
||||
after_success:
|
||||
- sh .travis/deploy_dockerhub.sh
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
curl -u restadmin:restpass http://172.19.199.2:8001/3.1/system
|
||||
11
tests/test.sh
Executable file
11
tests/test.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Check to see if the core is up.
|
||||
curl -u restadmin:restpass http://172.19.199.2:8001/3.1/system
|
||||
|
||||
# Check to see if postorius is working.
|
||||
curl -L http://172.19.199.3:8000/postorius/lists | grep "Mailing List"
|
||||
|
||||
# Check to see if hyperkitty is working.
|
||||
curl -L http://172.19.199.3:8000/hyperkitty/ | grep "Available lists"
|
||||
Reference in New Issue
Block a user