ember-cli/ember-cli

View on GitHub
blueprints/app/files/.travis.yml

Summary

Maintainability
Test Coverage
# DEPRECATION:
#
# Support for generating a Travis CI config file is deprecated.
# You can keep using Travis CI, or you could also consider switching to GitHub Actions instead.
#
# Feel free to remove this comment block if you want to continue using Travis CI.
#
# ID     travis-ci-support
# UNTIL  6.0.0
# URL    https://deprecations.emberjs.com/id/travis-ci-support

---
language: node_js
node_js:
  - "18"

dist: xenial

addons:
  chrome: stable
<% if (yarn) { %>
cache:
  yarn: true
<% } else { %>
cache:
  directories:
    - $HOME/.npm
<% } %>
env:
  global:
    # See https://github.com/ember-cli/ember-cli/blob/master/docs/build-concurrency.md for details.
    - JOBS=1

branches:
  only:
    - master
<% if (yarn) { %>
before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH=$HOME/.yarn/bin:$PATH
<% } %>
script:
  - <% if (yarn) { %>yarn<% } else { %>npm<% } %> test