Skip to content
Let your Travis CI wait for the Netlify build preview
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__test__
.babelrc
.eslintrc.js
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
index.js
jest.config.js
main.js
package.json
renovate.json
yarn.lock

README.md

wait-for-netlify-preview

Let your Travis CI wait for the Netlify build preview

npm (scoped with tag) npm Build Status codecov Dependencies js-standard-style thanks

📖 Release Notes

Setup

Yarn

$ yarn add wait-for-netlify-preview

npm

$ npm install --save wait-for-netlify-preview

Usage

Requires the following environment variables:

  • GITHUB_API_TOKEN
  • TRAVIS_PULL_REQUEST_SHA
  • TRAVIS_REPO_SLUG
$ wait-for-netlify-preview

An example .travis.yml can be found here soon!

Development

  • Clone this repository
  • Install dependencies using yarn install or npm install
  • Start development server using npm run dev

Inspiration

Inspired by wait-for-now

License

MIT License

Copyright (c) Alexander Lichter

You can’t perform that action at this time.