[travis] test building valgrind

[ci valgrind]