Closed evandrocoan closed 11 months ago
After fixing:
The tests are passing for Linux and Windows, however the OSX tests on Travis are hanging and causing the build process to fail after Travis expiring its timeout of 10 minutes:
PC's unittests may perform a lot of API calls to various code hosters and thus may cause API limits to be hit.
To reduce the risk of doing so, proper authentication information need to be provided via environment variables.
The following lines are from https://github.com/wbond/package_control/blob/four-point-oh/package_control/tests/_config.py:
GH_USER = os.environ.get('GH_USER', 'packagecontrol-bot')
GH_PASS = os.environ.get('GH_PASS', '')
GL_USER = os.environ.get('GL_USER', 'wbond')
GL_PASS = os.environ.get('GL_PASS', '')
BB_USER = os.environ.get('BB_USER', 'wbond')
BB_PASS = os.environ.get('BB_PASS', '')
They are used to perform basic auth, which pushes the limits from 60 to 5000 API calls.
From:
We notice that all the failures are related to the accesses to the GitHub URLs, then there is no way to setup CI if we need a
client_id
andclient_secret
from GitHub.I have setup/implemented:
On my fork of Package Control and added CL integration with Travis and AppVeyor:
https://github.com/evandrocoan/PackagesManager
However, Coverage is not working due:
Anyways, after solving how to pass
client_id
andclient_secret
for GitHub tests, everything should be working.