.travis.yml

Travis CI configuration file.

Open in YAML Formatter

About this format

Travis CI reads this YAML file to know what environment to spin up and what scripts to execute for testing.

Example Data

language: node_js
node_js:
  - "18"
  - "20"
script:
  - npm run lint
  - npm test

When to use .travis.yml

  • Testing against multiple language versions
  • Running linting suites
  • Executing test commands