os:
- linux
- osx
language: go
addons:
  artifacts:
    paths:
    - maputnik
install:
- nvm install 6
- nvm use 6
- go get github.com/fsnotify/fsnotify
- go get github.com/gorilla/handlers
- go get github.com/gorilla/mux
- go get github.com/gorilla/websocket
- go get github.com/urfave/cli
- go get github.com/elazarl/go-bindata-assetfs/...
- go get github.com/jteeuwen/go-bindata/...
- wget https://raw.githubusercontent.com/openmaptiles/klokantech-basic-gl-style/master/style.json
script:
- mkdir -p editor/public
- make
- ./maputnik --help
- ./maputnik --version
- ./maputnik --file style.json
- ./maputnik --watch --file style.json

os:
- linux
- osx
language: go
go:
- 1.7.x
addons:
  artifacts:
    paths:
    - maputnik
install:
- nvm install 6
- nvm use 6
- go get github.com/fsnotify/fsnotify
- go get github.com/gorilla/handlers
- go get github.com/gorilla/mux
- go get github.com/gorilla/websocket
- go get github.com/urfave/cli
- go get github.com/elazarl/go-bindata-assetfs/...
- go get github.com/jteeuwen/go-bindata/...
- wget https://raw.githubusercontent.com/openmaptiles/klokantech-basic-gl-style/master/style.json
script:
- mkdir -p editor/public
- make
- ./maputnik --help
- ./maputnik --version
- timeout 5s ./maputnik --file style.json
- ./maputnik --watch --file style.json

Use Go 1.7 explicitely in Travis
Use Go 1.7 explicitely in Travis
