Skip to content

Commit d15399e

Browse files
committed
Final attempt - tests should finally pass.
1 parent 8d2711b commit d15399e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ env:
77

88
before_install:
99
- sudo apt-get update -qq
10-
- sudo apt-get remove --purge mysql*
10+
11+
# Remove MySQL. Completely and totally.
12+
- sudo apt-get remove --purge -s 'mysql*'
1113
- sudo apt-get autoremove
1214
- sudo apt-get autoclean
13-
- sudo ls -lah /var/lib
1415
- sudo rm -rf /var/lib/mysql
16+
- sudo rm -rf /var/log/mysql
1517

1618
install:
1719
# Install Ansible.
@@ -34,11 +36,11 @@ script:
3436
&& (echo 'Idempotence test: pass' && exit 0)
3537
|| (echo 'Idempotence test: fail' && exit 1)
3638
39+
# Some MySQL debugging (show all the logs).
3740
- "sudo ls -lah /var/log"
3841
- "sudo ls -lah /var/log/mysql"
39-
- "sudo cat /var/log/mysql.err"
40-
- "sudo cat /var/log/mysql.log"
4142
- "sudo cat /var/log/mysql/error.log"
43+
- "sudo cat /var/log/mysql/slow.log"
4244

4345
# Check to make sure we can connect to MySQL.
4446
- >

0 commit comments

Comments
 (0)