From 09299901fe8a7627d26f6aa1ce27b0c3d39b69d0 Mon Sep 17 00:00:00 2001 From: lukasmartinelli Date: Sun, 7 Aug 2016 16:01:16 +0200 Subject: [PATCH] Add Travis --- .travis.yml | 10 ++++++++++ README.md | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e9e3539 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: node_js +sudo: false +node_js: +- '0.10' +branches: + only: + - gh-pages +script: + - npm install -g mapbox-gl-style-spec + - gl-style-validate osm-liberty.json diff --git a/README.md b/README.md index 1dd3022..117ff5a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OSM Liberty [![BSD licensed](https://img.shields.io/badge/license-BSD-blue.svg)](https://github.com/lukasmartinelli/osm-liberty/blob/gh-pages/LICENSE.md) +# OSM Liberty [![BSD licensed](https://img.shields.io/badge/license-BSD-blue.svg)](https://github.com/lukasmartinelli/osm-liberty/blob/gh-pages/LICENSE.md) [![Build Status](https://travis-ci.org/lukasmartinelli/osm-liberty.svg?branch=gh-pages)](https://travis-ci.org/lukasmartinelli/osm-liberty) OSM Liberty