Open avillr opened 6 years ago
Seems doable with Codeship: https://apidocs.codeship.com/v2/projects/create-project
Will look into additional providers as well.
For initial authorization with travis the request body should include a github token, possibly the same one from when we initially log users in. Headers: Accept: application/vnd.travis-ci.2+json, User-Agent: MyClient/1.0.0, Content-Type: application/json
. The result of the request will be a travis access token that can be used for all future requests
Things to do: find the right repo after a user is authenticated, get slug id for the repo, enable that repo on travis, possibly trigger a build.
If codeship isn't permissive enough, maybe Travis CI? or another CI provider?