From 0487bebd67c77ef1acebd67f9fca37343408c42b Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Fri, 30 Mar 2018 17:47:42 -0300 Subject: [PATCH] Switch to Travis. --- .travis.yml | 14 ++++++++++++++ README.md | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5e391ad --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: node_js +node_js: + - "8" + - "9" +branches: + only: + - dev +cache: + directories: + - "node_modules" +before_script: + - npm install +script: + - npm test \ No newline at end of file diff --git a/README.md b/README.md index 35abeda..b1bb8ba 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Ten Percent -[![GitHub license](https://img.shields.io/github/license/greatislander/tenpercent.svg)](https://github.com/greatislander/tenpercent/blob/master/LICENSE.md) ![Codeship](https://img.shields.io/codeship/28115150-1682-0136-0129-16efa7467c65/master.svg) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) +[![GitHub license](https://img.shields.io/github/license/greatislander/tenpercent.svg)](https://github.com/greatislander/tenpercent/blob/master/LICENSE.md) [![Travis branch](https://img.shields.io/travis/greatislander/tenpercent/dev.svg)](https://travis-ci.org/greatislander/tenpercent/) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) Ten Percent (l10n percent) is a Node.js microservice which uses the [Transifex REST API](https://docs.transifex.com/api/introduction) to retrieve the localization status of a given Transifex resource. I made Ten Percent so that I could use a [Shields.io dynamic badge](http://shields.io/#dynamic-badge) to display the localization status of the [Pressbooks](https://github.com/pressbooks/pressbooks) Open Source project's resources and encourage ongoing localization efforts. Hopefully others will find it useful for their projects as well.