{"id":19294172,"url":"https://github.com/ncastaldi/travis_practice","last_synced_at":"2026-05-16T04:34:41.849Z","repository":{"id":54187208,"uuid":"344465700","full_name":"ncastaldi/travis_practice","owner":"ncastaldi","description":"Practicing w/ Travis CI/CD with sample code using PassportJS","archived":false,"fork":false,"pushed_at":"2021-03-04T12:45:46.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-05T21:08:44.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ncastaldi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-03-04T12:24:38.000Z","updated_at":"2021-03-04T12:45:48.000Z","dependencies_parsed_at":"2022-08-13T08:40:46.359Z","dependency_job_id":null,"html_url":"https://github.com/ncastaldi/travis_practice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncastaldi%2Ftravis_practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncastaldi%2Ftravis_practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncastaldi%2Ftravis_practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncastaldi%2Ftravis_practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncastaldi","download_url":"https://codeload.github.com/ncastaldi/travis_practice/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240397116,"owners_count":19794797,"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":[],"created_at":"2024-11-09T22:37:22.793Z","updated_at":"2026-05-16T04:34:41.789Z","avatar_url":"https://github.com/ncastaldi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Travis Setup\n\nIn this activity we will set up the project repo with Travis CI to ensure that linting passes on all changes before they can be merged into main.\n\n## Instructions\n\n* Only the owner of the project repo should complete this activity, other group members should watch.\n\n### Part 1: Protecting main\n\n* Before we can set up Travis, we must configure the project repo to protect the main branch.\n\n* Navigate to the repo's page, then click the \"Settings\" tab.\n\n* Select \"Branches\" from the left sidebar.\n\n* Under \"Branch protection rules\", choose \"main\" from the dropdown.\n\n* Check off the following options:\n\n  * \"Protect this branch\"\n\n  * \"Require pull request reviews before merging\"\n\n  * \"Include administrators\"\n\n  * \"Require status checks to pass before merging\"\n\n  * \"Require branches to be up to date before merging\"\n\n* Click \"Save changes\"\n\n### Part 2: Add Travis\n\n* Navigate to \u003chttps://github.com/marketplace/travis-ci\u003e.\n\n* Select the option to \"Set up a new plan\" and choose the $0 \"Open Source\" plan when prompted.\n\n* Click \"Install it for free\" and then on the next page click \"Complete order and begin installation\".\n\n* On the next page select the radio button that reads \"Only select repositories\".\n\n* From the \"Select repositories\" dropdown, choose your project repo.\n\n* Click the \"Install\" button to complete the process.\n\n* In the [starter code](`../../../14-Full-Stack/04-Important/Sequelize-Passport-Example`), note that there is a `travis.yml` file that specifies the steps of the build process. \n\n* Make a small change to the project, add, commit, and push your code to ensure that Travis runs the linter.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncastaldi%2Ftravis_practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncastaldi%2Ftravis_practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncastaldi%2Ftravis_practice/lists"}