Updated Travis configuration to install valgrind before running the tests.