Add prebuild support.
@@ -3,18 +3,29 @@ language: node_js
sudo: false
node_js:
- - 8
+ - node
-compiler: clang-3.6
+os:
+ - linux
-env:
- - CXX=clang-3.6
+matrix:
+ include:
+ - os: osx
+ env: COMPILER=clang++
+ osx_image: xcode9.4
+ compiler: clang
+ - os: linux
+ env: CXX=clang
+ compiler: clang
-addons:
- apt:
- sources:
- - llvm-toolchain-precise-3.6
- - ubuntu-toolchain-r-test
+branches:
+ only:
+ - master
- packages:
- - clang-3.6
+deploy:
+ provider: script
+ script: npm run prebuild && npm run prebuild:upload -u ${PREBUILD_UPLOAD}
+ skip_cleanup: true
+ on:
+ all_branches: true
+ tags: true
