Skip to content

Commit af3a1d1

Browse files
committed
Another attempt at getting good debug output from Travis.
1 parent d15399e commit af3a1d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ before_install:
1313
- sudo apt-get autoremove
1414
- sudo apt-get autoclean
1515
- sudo rm -rf /var/lib/mysql
16-
- sudo rm -rf /var/log/mysql
16+
- sudo truncate -s 0 /var/log/mysql/error.log
17+
- sudo truncate -s 0 /var/log/mysql/slow.log
1718

1819
install:
1920
# Install Ansible.
@@ -38,7 +39,6 @@ script:
3839
3940
# Some MySQL debugging (show all the logs).
4041
- "sudo ls -lah /var/log"
41-
- "sudo ls -lah /var/log/mysql"
4242
- "sudo cat /var/log/mysql/error.log"
4343
- "sudo cat /var/log/mysql/slow.log"
4444

0 commit comments

Comments
 (0)