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