More Travis testing.

This commit is contained in:
Jeff Geerling
2014-05-23 11:47:30 -05:00
parent 4715a6bd60
commit 7b99b6aacc
2 changed files with 8 additions and 3 deletions

View File

@@ -29,6 +29,9 @@ script:
&& (echo 'Idempotence test: pass' && exit 0) && (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1) || (echo 'Idempotence test: fail' && exit 1)
- "sudo service mysql status"
- "sudo service mysql restart"
# Check to make sure we can connect to MySQL. # Check to make sure we can connect to MySQL.
- > - >
mysql -u root -proot -e 'show databases;' mysql -u root -proot -e 'show databases;'

View File

@@ -1,5 +1,7 @@
--- ---
- name: restart mysql - name: restart mysql
service: > debug: msg="Testing..."
name={{ mysql_daemon }} # - name: restart mysql
state=restarted # service: >
# name={{ mysql_daemon }}
# state=restarted