-
Notifications
You must be signed in to change notification settings - Fork 1
Setting up CI CD with TravisCI
Swati Jaiswal edited this page Sep 9, 2019
·
1 revision
Overview (from Gitlab Docs)
Continuous Integration works by pushing small code chunks to your application’s code base hosted in a Git repository, and, to every push, run a pipeline of scripts to build, test, and validate the code changes before merging them into the main branch.
- Code quality check by running a linter e.g. pylint for python.
- Run unit tests.
- By creating a yml file usually at the root of your repository. You can follow the CI services' docs to get started with. We are using Travis and have created a .travis.yml file in the root of the repo.
GitHub provides free integration with TravisCI. Follow Travis Tutorial for setting up Travis with GitHub.