get tests passing on travis

add iam template with mapbox-gl-testing and mapbox-node-binary permissions
add travis build scripts and .travis.yml
rm -f platform gypi
map.resize is private now, called by view.resize
set stdlib and c++11 per platform, link glfw3 ldflags on linux
pass --clang to node-gyp per https://github.com/mapbox/mapbox-gl-native/pull/364#issuecomment-51735692
This commit is contained in:
Mike Morris
2015-02-05 17:19:26 -05:00
parent f8a7a4425d
commit df396d7d89
11 changed files with 228 additions and 12 deletions

View File

@@ -19,7 +19,6 @@ void NodeMap::RenderWorker::Execute() {
try {
nodeMap->view.resize(options->width, options->height, options->ratio);
nodeMap->map.setAccessToken(options->accessToken);
nodeMap->map.resize(options->width, options->height, options->ratio);
nodeMap->map.setClasses(options->classes);
nodeMap->map.setLonLatZoom(options->longitude, options->latitude, options->zoom);
nodeMap->map.setBearing(options->bearing);