Skip to content

Commit

Permalink
ci: initialize the travis ci configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
chengjianhua committed Apr 16, 2018
1 parent de71d5c commit 44a11d3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
sudo: false
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js: '8'
install: npm install
script: npm run validate
after_success: kcd-scripts travis-after-success
branches:
only: master
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

[![version][version-badge]][package]
![downloads][downloads-badge]
[![Build Status][travis-svg]][travis-repo]
[![MIT License][license-badge]][license]
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)
[![Babel Macro](https://img.shields.io/badge/babel--macro-%F0%9F%8E%A3-f5da55.svg?style=flat-square)](https://github.com/kentcdodds/babel-plugin-macros)
Expand Down Expand Up @@ -96,6 +97,8 @@ Click [here](https://github.com/chengjianhua/penv.macro/issues/new) to open a ne
[version-badge]: https://img.shields.io/npm/v/penv.macro.svg?style=flat-square
[package]: https://www.npmjs.com/package/penv.macro
[downloads-badge]: https://img.shields.io/npm/dm/penv.macro.svg?style=flat-square
[travis-svg]: https://travis-ci.org/chengjianhua/penv.macro.svg?style=flat-square&branch=master
[travis-repo]: https://travis-ci.org/chengjianhua/penv.macro
[npmcharts]: http://npmcharts.com/compare/penv.macro
[license-badge]: https://img.shields.io/npm/l/penv.macro.svg?style=flat-square
[license]: https://github.com/chengjianhua/penv.macro/blob/master/LICENSE

0 comments on commit 44a11d3

Please sign in to comment.