1.2.39 • Published 8 years ago

travis-build-tools v1.2.39

Weekly downloads
3
License
BSD-3-Clause
Repository
github
Last release
8 years ago

Travis Build Tools

Node NPM Travis build tools library.

npm version Build Status

Usage

var travis = require('travis-build-tools')(process.env.GIT_TAG_PUSHER);

//Get the current version based on the branch name:
var version = travis.GetVersion();

//Automatically publish a tag with the current version to the git repository.
travis.PublishGitTag();

//Or
travis.PublishGitTag('tag-name.1.0.0-sha1');

//Automatically merge downstream branches (`release/*` or `master`) if the current branch is `release`.
travis.MergeDownstream('release/', 'master');

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
1.2.39

8 years ago

1.1.36

8 years ago

1.1.34

8 years ago

1.1.32

8 years ago

1.1.30

8 years ago

1.0.28

9 years ago

1.0.26

9 years ago

1.0.17

9 years ago

1.0.11

9 years ago

0.0.0

9 years ago