Crowd-sourced list of Travis CI hooks/scripts etc to level up your .travis.yml file
Switch branches/tags
Nothing to show
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.
scripts
LICENSE
README.md

README.md

awesome-travis

Crowd-sourced list of Travis CI hooks/scripts etc to level up your .travis.yml file

Notifications

Slack

travis encrypt "$SLACK_SUBDOMAIN:$SLACK_TRAVIS_TOKEN#updates" --add notifications.slack

Email

travis encrypt "$TRAVIS_NOTIFICATION_EMAIL" --add notifications.email.recipients

Node.js

Complete Node.js Version Matrix

Complete configuration for the different node.js versions one may need to support. With legacy versions allowed to fail.

# https://github.com/bevry/awesome-travis
# https://github.com/nodejs/LTS
sudo: false
language: node_js
node_js:
  - "0.8"   # end of life
  - "0.10"  # end of life
  - "0.12"  # end of life
  - "4"     # maintenance lts
  - "6"     # active lts
  - "8"     # active lts
  - "9"     # current
matrix:
  fast_finish: true
  allow_failures:
    - node_js: "0.8"
    - node_js: "0.10"
    - node_js: "0.12"
cache:
  directories:
    - $HOME/.npm  # npm's cache
    - $HOME/.yarn-cache  # yarn's cache

Scripts

The scripts directory contains scripts you can use.

Tips

The scripts in this repository are their own files, which the latest are fetched. E.g.

install:
  - eval "$(curl -fsSL https://raw.githubusercontent.com/bevry/awesome-travis/master/scripts/node-install.bash)"

You probably want to change the master to the the current commit hash. For instance:

install:
  - eval "$(curl -fsSL https://raw.githubusercontent.com/bevry/awesome-travis/some-commit-hash-instead/scripts/node-install.bash)"

Or you could even download it into a .travis folder for local use instead:

mkdir -p ./.travis
wget https://raw.githubusercontent.com/bevry/awesome-travis/master/scripts/node-install.bash ./.travis/node-install.bash
chmod +x ./.travis/node-install.bash
install:
  - ./.travis/node-install.bash

Generators

  • bevry/based generates your project, including your .travis.yml file, using this awesome list

Contribution

Send pull requests for your scripts and config nifties! Will be awesome!

Although, avoid changing header titles and file names, as people may reference them when they use parts.

License

Public Domain via The Unlicense