Web Interface

This page lists settings that are only available in the Travis CI .com and .org web user interface.

Limit concurrent jobs #

The maximum number of concurrent jobs depends on the total system load, but one situation in which you might want to set a particular limit is:

  • if your build depends on an external resource and might run into a race condition with concurrent jobs.

Build pushed branches #

If ON, builds will be run on branches that are not explicitly excluded in your .travis.yml.

If OFF, builds won’t run on pushed commits on branches.

Build pushed pull requests #

If ON, builds will be run on new pull requests.

Auto cancel branch builds #

If you are only interested in building the most recent commit on each branch you can use this new feature to automatically cancel older builds in the queue that are not yet running.

Auto cancel pull request builds #

If you are only interested in building the most recent commit on each branch you can use this new feature to automatically cancel older builds in the queue that are not yet running.

Environment variables #

Variables defined in repository settings are the same for all builds, and when you restart an old build, it uses the latest values. These variables are not automatically available to forks.

Define variables in the Repository Settings that:

  • differ per repository.
  • contain sensitive data, such as third-party credentials.

More information on environment variables.

Cron jobs #

Travis CI cron jobs work similarly to the cron utilty, they run builds at regular scheduled intervals independently of whether any commits were pushed to the repository. Cron jobs always fetch the most recent commit on a particular branch and build the project at that state. Cron jobs can run daily, weekly or monthly, which in practice means up to an hour after the selected time span, and you cannot set them to run at a specific time.

Check the full cron jobs docs for more information on skipping and detecting cron jobs.

Caches #

More information on caching.

Trigger a custom build #

Custom builds exist only on Travis CI and will not appear in your Git history.

BETA Custom builds are a beta feature. Please provide feedback on GitHub.