Travis Build Tools
Node NPM Travis build tools library.
Usage
var travis = processenvGIT_TAG_PUSHER; //Get the current version based on the branch name:var version = travis; //Automatically publish a tag with the current version to the git repository.travis; //Ortravis; //Automatically merge downstream branches (`release/*` or `master`) if the current branch is `release`.travis;
Development
- Get Node:
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
apt-get install nodejs
npm install travis-build-tools
Update .travis.yml keys
apt-get install ruby-dev
gem install travis
- Setup Travis-CI build on the repository.
travis encrypt GIT_TAG_PUSHER=git_api_key --add env.global
travis encrypt deployment_key --add deploy.api_key