Can you do `[ "$TRAVIS_OS_NAME" = "linux"] && sudo apt-get -qq update`? That will make it simpler