team-made / boilerplate-pro

🔭 A platform for developers to find, integrate, and deploy the best boilerplate for their project.
https://boilerplate.pro
MIT License
2 stars 1 forks source link

feat/ Write out explicit steps for remotely integrating repo with Codeship #7

Open avillr opened 6 years ago

avillr commented 6 years ago

If codeship isn't permissive enough, maybe Travis CI? or another CI provider?

estepanov commented 6 years ago

Seems doable with Codeship: https://apidocs.codeship.com/v2/projects/create-project

Will look into additional providers as well.

danraybernard commented 6 years ago

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

danraybernard commented 6 years ago

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.