Travis CI Build Config Reference

Welcome to the Travis CI build config reference documentation.

You can find the build config in the .travis.yml file in your repository. This site documents its format.

The Travis CI build config format is formally specified using a JSON Schema. Travis CI uses this specification to normalize and validate build configs (this is currently in beta, and needs to be activated).

Use the Travis CI Build Config Explorer to explore and experiment with build config YAML snippets.

See also

Keys

Shared keys

Examples

vault:
  api_url: string
  token:
    secure: encrypted string
  secrets:
  - string
language: ruby
os:
- linux
- osx
dist: trusty
os: linux

Beta