0.0.7 • Published 8 years ago
travis-ci-sample v0.0.7
travis-ci-sample
Example of a Javascript package project using Travis CI.
Notes
- This project represents a Hello world! Javascript package published as
travis-ci-sampleon the public NPM registry. - The
.travis.ymlfile references calls only to scripts defined inpackage.json. This makes the Travis CI configuration file reusable. - Travis CI will deploy the package only when a tagged commit is pushed to the
masterbranch of this repository. - The
skip_cleanupoption is enabled because the distribution folder is not included in source control thus it could be cleaned up by the Travis CI agent before the deploy phase. - There is an empty
.npmignorefile in this project because otherwise the Travis CI agent would fall back to the.gitignoresettings when deploying the package: this would be a problem since the distribution folder is not included in source control.