Update .travis.yml

Added rule to upgrade npm so that the `^` syntax of versioning can be used.