Adding a new repository to travis

To add a new repository to Travis CI, you'll need to follow these steps:

Step 1: Create a .travis.yml file

In the root directory of your repository, create a new file named .travis.yml. This file contains the configuration settings for your Travis CI build.

Step 2: Configure your .travis.yml file

In the .travis.yml file, you'll need to specify the following:

Here's an example .travis.yml file:

language: python
script: python -m unittest discover
branches:
  only:
    - master

This configuration tells Travis CI to:

Step 3: Add your repository to Travis CI

Go to the Travis CI website and sign in with your GitHub account. Click on the "Add Repository" button and enter the following information:

Click the "Add Repository" button to add your repository to Travis CI.

Step 4: Verify your configuration

After adding your repository, Travis CI will automatically detect the .travis.yml file and start building your repository. You can verify that your configuration is correct by checking the Travis CI dashboard for your repository.

That's it! Your repository should now be configured to build on Travis CI.