Solving the issue that happens on Travis CI