Fix Travis CI configuration. Improve build process: always build before testing.
Add missing newline to Makefile.