What is a .travis.yml file?

What is a .travis.yml file?

Hi Joe,

Travis YML file is a file placed in each project’s root directory to control the configurations of each build-related information. The file provides information such as what language the code will be operating on, which OS it will be running on, and which branch of the repo it is being targeted, etc.

Once the .travis.yml is added to the repository, Travis-CI cloud will start a new build whenever there’s a commit that is pushed to the repository.

Hope it helps!

1 Like

Thanks Shahzebh,

How can we use this file to build a CI/CD pipeline while working with Travis CI?

1 Like

To build a CI/CD pipeline using Travis CI, please go through the following blog:

2 Likes