Travis CI
You can configure Spinnaker to use Travis CI as your Continuous Integration system, trigger pipelines with Travis, or add a Travis stage to a pipeline.
Prerequisites
-
You need a Travis user with an API access token so that you get only the repos you should see.
-
That user needs adequate access in GitHub to trigger builds.
Add your Travis CI master
-
Enable Travis CI:
hal config ci travis enable
-
Turn on the Travis stage feature:
hal config features edit --travis true
-
Add a Travis CI master named my-travis-master (or any arbitrary human-readable name):
hal config ci travis master add my-travis-master \ --address https://api.travis-ci.org \ --base-url https://travis-ci.org \ --github-token <token> \ # The GitHub token to authenticate to Travis --number-of-repositories # How many repos the integration should fetch each # time the poller runs, higher than max expected # during polling interval