repo
replacements.fyi

// package

is-travis

type: "module"

// preferences

// replacements (1)

snippet::is-travis

Simple or drop-in replacement

This package is no longer necessary. You can check if the current environment is Travis CI by checking if the `TRAVIS` environment variable is set.

// example

const isTravis = () => 'TRAVIS' in process.env;