forked from mafintosh/turbo-net
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
35 lines (35 loc) · 1.35 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
sudo: false
language: node_js
node_js:
- node
- '9'
- '8'
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_deploy:
- ARCHIVE_NAME="${TRAVIS_TAG:-latest}-$TRAVIS_OS_NAME-`uname -m`.tar"
- npm run prebuild
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ARCH=ia32 npm run prebuild; fi
- tar --create --verbose --file="$ARCHIVE_NAME" --directory "$TRAVIS_BUILD_DIR/prebuilds" .
deploy:
provider: releases
draft: false
prerelease: true
api_key:
secure: vbxTiYRg2yjqHI5rCs/1lF+qvDf7YSpwmfVYTolIt6IOm3FBumJz7OYoLu7ULvsjMUL4gZoOFpWDhofH6HWAPkNKYF5XUZZuRs8GS3fZrjoPdgWA6zrcd4/7gKAWTdUe9kLMGOdSpofUJj7+Qb3Lci8RrohzlrFLnH/LL1N0lzux2/ZTXkK7r7NJxCGfCwKZqfibwm8j37FzdjQN17b4QV5YADgg7cLx8Mz8xb6RU9eRFuWcSmcjzM4lfX9cZL9ZiL18ylIZHPDAtxN/zH7Pij50co3aL2HZvmAth+j3bmnA2olksqJHOlUqD2SGAYZfpCHF13Tsh82X4CcXFa0INNshLWwOCs0pVYuhMMXBHAFraeJRDkILajo/5x3zci/kgJ+4fAUY3TITVUAIpiyKqlMhdXDGsmW3QDYMZjazOSQ2OXaGsdyseVYpUTy30WIg+9SJrMxP1k3kjoZvx8ia3eFgCfHBYiI84fwU2uCw0rOU4m/peteMMP23GTI4pIpMdezx82eH3frrLS4B3zQrKIK5XEgEaraUELs6hRQpqfMrEcVCbRc/NM/zyKxypkp+tVF9dNx0yYliE+MYRliLSVSe9OIkO4WRffQpFdxyKtwFiQOVoL3fyEKnsD2Y64yjhZrrQHRQHYk7zhdpCbOwXfFo5koBr9sjBSLVEgD2eUY=
file: "$ARCHIVE_NAME"
skip_cleanup: true
on:
tags: true
node: node