trying to add test on AD/DC for travis

This commit is contained in:
kakwa 2017-01-24 02:52:16 +01:00
parent 5a45a24055
commit 44024dbd02
2 changed files with 3 additions and 2 deletions

View File

@ -2,8 +2,8 @@ sudo: required
dist: trusty dist: trusty
language: python language: python
env: #env:
- TRAVIS="yes" # - TRAVIS="yes"
before_install: before_install:
- '[ "$TEST_PEP8" == "1" ] || sudo ./tests/test_env/deploy.sh' - '[ "$TEST_PEP8" == "1" ] || sudo ./tests/test_env/deploy.sh'

View File

@ -48,6 +48,7 @@ kill -9 `cat /var/run/samba/smbd.pid`
rm -f /var/run/samba/smbd.pid rm -f /var/run/samba/smbd.pid
kill -9 `cat /var/run/samba/nmbd.pid` kill -9 `cat /var/run/samba/nmbd.pid`
rm -f /var/run/samba/nmbd.pid rm -f /var/run/samba/nmbd.pid
rm -rf /var/run/samba
echo "deploy AD" echo "deploy AD"
printf '' > "${smbconffile}" && \ printf '' > "${smbconffile}" && \