shelljs/.travis.yml

46 lines
1.1 KiB
YAML

language: c++
sudo: false
env:
- NODE_VERSION="0.10"
- NODE_VERSION="0.11"
- NODE_VERSION="0.12"
- NODE_VERSION="iojs-v1"
- NODE_VERSION="iojs-v2"
- NODE_VERSION="iojs-v3"
- NODE_VERSION="4"
- NODE_VERSION="5"
- NODE_VERSION="6"
matrix:
allow_failures:
- NODE_VERSION="0.10"
# keep this blank to make sure there are no before_install steps
before_install:
install:
- rm -rf ~/.nvm
- git clone https://github.com/creationix/nvm.git ~/.nvm
- source ~/.nvm/nvm.sh
- nvm install $NODE_VERSION
- node --version
- npm install
os:
- linux
- osx
script:
- npm test
# make sure when the docs are generated nothing changes (a.k.a. the docs have already been generated)
- npm run gendocs
- npm run after-travis "Make sure to generate docs!"
# Gitter
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/743dc6b83b6dd05111ee
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always