2019-11-19 13:04:46 +00:00
|
|
|
language: node_js
|
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
|
|
|
osx_image: xcode8.3
|
|
|
|
|
|
|
|
node_js:
|
|
|
|
- node
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
|
|
|
- gcc-4.8-multilib
|
|
|
|
- g++-4.8-multilib
|
|
|
|
- gcc-multilib
|
|
|
|
- g++-multilib
|
|
|
|
|
|
|
|
os:
|
|
|
|
- osx
|
|
|
|
- linux
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cinst -y python2; fi
|
|
|
|
|
|
|
|
install:
|
|
|
|
- npm install
|
|
|
|
- npm run configure
|
|
|
|
|
|
|
|
before_deploy:
|
|
|
|
- ARCHIVE_NAME="${TRAVIS_TAG:-latest}-$TRAVIS_OS_NAME.tar"
|
|
|
|
- npm run prebuild
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PREBUILD_ARCH=ia32 npm run prebuild; fi
|
|
|
|
- cd prebuilds && tar cvf "../$ARCHIVE_NAME" . && cd ..
|
2020-05-20 14:33:46 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
npm: false
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
draft: false
|
|
|
|
prerelease: true
|
|
|
|
api_key:
|
2020-05-20 14:59:54 +00:00
|
|
|
secure: "KPn3xR4LWcg/H259aSZh26XX0eapR88xSNUkBmEri/sCJSyZ0+asLZSv/HDD3KJP4HeuIKsQc0v8fcebD83fkvaSvlUzSppMQgniwuGC1cAefbrgZDwmJJ/n+lE8Wr9x4adOBTgICS5Uc8LlZ1PuJGm4mmequVs29BEw9738LzN4+3NpoCoWd0FAgGF0tDTsaYL1tJqERAyNIxHS+adUPe0F2r0d2UJ7mOrW7s8Ai6e6QryFsFvA2m0Xn/pQmNO/mcq+LPcw57pWuI3Hm3Cu3W8VPJXYp/yJaFqTAn3D9Fwz4tkmbfmca4ETwZYOS3lvL/rjLQ+69SJlRRu/QfPECkZven+wwsLX/DmyGHgEWqeGWjKj/NxYOIKUKEZZCVrF8cy4j9mac+LK6bAeDZERKSxUJ9GT5WsjvV3RNKgp3MZF7mtmj4IWXfgcuwFX49oIqhzSJsucBBXlB74J7Qua5VJPEAo/7X7Q+Y9IT9JHwxXsXVF5ZNj1PMlJicVD6oKi4XCFOVxSE9wdzlBwMOlUyBGhAIzS6lmxHOELYO9C7l8t/8Zvi4a+YGvOwn0dzLb9zuA1bzqJmEB1fkQMZXHvcEY1o5jSTQ0cNn1Wx4Ck9zyLyhnZ5KRXKzGQ1du55iVOThcbl/8j6zT218SiZMMtv8ZwPy4pJt4skMGsoOZtYlE="
|
|
|
|
file: "$ARCHIVE_NAME"
|
2020-05-20 14:33:46 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
node: 'node'
|