{"id":22535259,"url":"https://github.com/danielwhatmuff/trigger-travis","last_synced_at":"2025-04-09T19:07:43.480Z","repository":{"id":62585256,"uuid":"96366780","full_name":"danielwhatmuff/trigger-travis","owner":"danielwhatmuff","description":"Python CLI to kick off travis jobs on a particular branch and optionally inject environment variables","archived":false,"fork":false,"pushed_at":"2019-10-23T00:25:56.000Z","size":12,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-23T21:01:50.046Z","etag":null,"topics":["ci","cli","continuous-deployment","continuous-integration","continuous-testing","devops","python","travis","travis-ci"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielwhatmuff.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-05T22:39:11.000Z","updated_at":"2019-01-14T11:45:33.000Z","dependencies_parsed_at":"2022-11-03T22:04:48.996Z","dependency_job_id":null,"html_url":"https://github.com/danielwhatmuff/trigger-travis","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwhatmuff%2Ftrigger-travis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwhatmuff%2Ftrigger-travis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwhatmuff%2Ftrigger-travis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwhatmuff%2Ftrigger-travis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielwhatmuff","download_url":"https://codeload.github.com/danielwhatmuff/trigger-travis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247941418,"owners_count":21022028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci","cli","continuous-deployment","continuous-integration","continuous-testing","devops","python","travis","travis-ci"],"created_at":"2024-12-07T10:06:57.438Z","updated_at":"2025-04-09T19:07:43.450Z","avatar_url":"https://github.com/danielwhatmuff.png","language":"Python","readme":"# trigger-travis\n![](https://cdn.travis-ci.com/images/logos/TravisCI-Full-Color-45e242791b7752b745a7ae53f265acd4.png)\n\n## Overview\n* Install and execute this CLI to trigger Travis CI builds on a particular branch, optionally overriding env vars or the script section\n* For more information, see https://docs.travis-ci.com/user/triggering-builds/\n\n### Get a token from Travis-ci.org \n```yaml\ntravis login --org\ntravis token --org\n```\n\n### Get a token from Travis-ci.com\n```yaml\ntravis login --org --pro\ntravis token --org --pro\n```\n\n### Install the CLI and view the available options\n```yaml\n$ pip install trigger-travis\n$ trigger-travis --help\n```\n\n### Example of running a build and passing environment variables\n```yaml\n$ trigger-travis -t yourtoken -r yourorg/yourrepo --branch develop --env SOMEENV=value,ANOTHERENV=anothervalue --mergemode deep_merge --pro\n```\n\n### Example of running a build and overriding the commit message\n```yaml\n$ trigger-travis -t yourtoken -c 'This build was triggered by the API' --branch master\n```\n\n### Example of running a build and overriding the script\n```yaml\n$ trigger-travis -t yourtoken -s 'exit 0' -m replace --branch master\n```\n\n## Related docs\n* [Travis Build Docs](https://docs.travis-ci.com/user/customizing-the-build)\n* [Triggering Builds APIv3](https://docs.travis-ci.com/user/triggering-builds/)\n\n## Known issues\n* Encrypted environment variables defined within your travis.yml don't work with the deep_merge option - you must define them in the repo settings using the Travis UI, this is a limitation with Travis...\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielwhatmuff%2Ftrigger-travis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielwhatmuff%2Ftrigger-travis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielwhatmuff%2Ftrigger-travis/lists"}