Update npm before testing

This way, dependencies that use the `^x.y.z` syntax won’t break the Travis build anymore.