Refactored travis file with apt-install in case of coverage