Make Travis CI build both debug and release modes

This would have automatically caught #21.