Update .travis.yml

Make travis check compilation for debug and release builds.