Travis: run tests in release mode in master only