One of my repos on Github does not show up in Travis.
I am trying to understand why my repo:
Is not showing up in Travis.
I can browse to it:
https://www.travis-ci.com/github/tomasbjerre/wiremock-npm
But it is not listed, I have to manually create this link.
If I trigger a build manually, I get an error “Oh no!
Oops, something went wrong, please try again.”.
If I do this:
curl 'https://api.travis-ci.com/repos?repository.active=false&sort_by=current_build%3Adesc&limit=300&include=build.branch%2Cbuild.commit%2Cbuild.created_by%2Cbuild.request%2Crepository.current_build%2Crepository.default_branch%2Crepository.email_subscribed%2Cowner.github_id%2Cowner.installation' \
-H 'authority: api.travis-ci.com' \
-H 'sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91"' \
-H 'travis-api-version: 3' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36' \
-H 'content-type: application/json' \
-H 'accept: application/json' \
-H 'authorization: token xxxxx' \
-H 'x-client-release: -' \
-H 'origin: https://www.travis-ci.com' \
-H 'sec-fetch-site: same-site' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-dest: empty' \
-H 'referer: https://www.travis-ci.com/' \
-H 'accept-language: sv,en;q=0.9,sv-SE;q=0.8,en-US;q=0.7,pl;q=0.6,de;q=0.5,et;q=0.4,it;q=0.3' \
--compressed
I get a response including:
...
{
"@type": "repository",
"@href": "/repo/19783048",
"@representation": "standard",
"@permissions": {
"read": true,
"activate": true,
"deactivate": true,
"migrate": false,
"star": true,
"unstar": true,
"create_cron": true,
"create_env_var": true,
"create_key_pair": true,
"delete_key_pair": true,
"create_request": true,
"admin": true
},
"id": 19783048,
"name": "wiremock-npm",
"slug": "tomasbjerre/wiremock-npm",
"description": "Wiremock Standalone wrapped in an NPM package so that it can be run with 'npx wiremock'.",
"github_id": 206102933,
"vcs_id": "206102933",
"vcs_type": "GithubRepository",
"github_language": null,
"active": false,
...
And I suspect the problem here is "active": false,
. Why is it not active? The repos is public, open, has a .travis.yml.