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
12 lines
204 B
Bash
Executable File
12 lines
204 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
git clone git@github.com:creationix/nvm.git ../.nvm
|
|
source ../.nvm/nvm.sh
|
|
nvm install $NODE_NVM_VERSION
|
|
nvm use $NODE_NVM_VERSION
|
|
node --version
|
|
npm --version
|