Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
399 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,61 @@ | ||
language: node_js | ||
|
||
env: | ||
- CXX=g++-4.8 | ||
|
||
node_js: | ||
- "stable" | ||
- "6.0" | ||
- "5.0" | ||
- "4.0" | ||
script: npm run coverage | ||
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" | ||
- "6" | ||
- "5" | ||
- "4" | ||
- "4.4.4" # Stated specifically for packaging | ||
- "4.0.0" # Used as lowest common dominator | ||
|
||
matrix: | ||
include: | ||
- node_js: "4.4.4" | ||
os: osx | ||
|
||
script: | ||
- npm run coverage | ||
- node scripts/package.js | ||
- chmod 555 scripts/package.sh | ||
- ./scripts/package.sh | ||
|
||
after_script: | ||
- "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" | ||
|
||
cache: | ||
directories: | ||
- build/src | ||
|
||
deploy: | ||
- provider: s3 | ||
access_key_id: | ||
secure: "Tl42ZPo3T6LpJ24QBfs8ZAOlYZr/8NgfOPhbsWf0In6ro4cEgOaq3JFSooP/eozSquYs1scpgpSv48a7dvHv4Ranm/toO9sxPgMs95OnjJCMSY2//oM+rStRAJTMLoeB2OWWgs1oSGkiuFJASXalTueVGOlVMFDsQ8MEHOWIv32vXFG6P3SgtO5GiTAvtYZEVnTdUSgZEni5dyWMRwP6ugMsl1WEBIBTE8xNHnRIPBD/sQk7pgWYp/Q4FQZ5NMcG7oegF4DLsxvUP5XVQIFABD/8G19Y/ABN9yCsvmXlywTZ2xROQts6Qpwq0w+qXMYH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ds-server-artifacts | ||
skip_cleanup: true | ||
acl: public_read | ||
local_dir: $( ls build | grep -v src ) | ||
upload-dir: $TRAVIS_REPO_SLUG | ||
- provider: releases | ||
skip_cleanup: true | ||
api_key: | ||
secure: "PY1AfzPa1uO7n+IE/u5eM+vuQEWm46oPK6ygqIU1KEQO2sjayb+KsWmWGfgngxDM/gUcu0XRDGB3G9QTK3Lsj6zPq582Pi3xlm3WdRQj/23SigAxO1IxIddrdyTGP21Ifkpul/A7nYLhBfpDVS1vP1qzPZmQy61GG2il0pTnsDCy2eDu/WccWFeBns4XDDIxOJJH43dQBcYL7IXZ93d77VraGGyHQmHdVJMSYVUhPHvkzJCitrbKZ30KxD8ewTURYzWfzrjOSr1kW2L0/FYDHFHImOVjeGvCXsQ5GjwGoTIHXUn6Buz7dwQUUU7IB/a+2cObliHx8JVHSJNtiiJJL2FqLjDW6SajP5umuEyXlJzETTpJgiwPj7YIU5oVWCr80SSEBeZugQL/JBb/n78SdmHo7kxLCq5WmwLi5hBGIX4OQ5gcoY+GARguprzYrS7n1Nh2RGAYmlmMUzKqSTGRlfl/V/7aDxsIkzrKShIa4OqHjDxWvWaRsykAc6aGg2E6Dy2iagFRfohAf0V4qIRfgIvzLz16Add3B61m0jDV5OjT45Or8h5+Ihj7FqjA4uGeQIA5/kIL5LFzFiwTR6wRRJl2gmMQsNP30FFJb9gtRmGkQfMBB7vIwJD+ye4arR4jFK4ciFSPjEvk63dkaSp5T/2Lh/0Pj0L3m2Z1ofmx9NU=" | ||
file_glob: true | ||
file: | ||
- "build/*.deb" | ||
- "build/*.rpm" | ||
- "build/*.tar.gz" | ||
- "build/*.zip" | ||
on: | ||
tags: true | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
platform: | ||
- x64 | ||
|
||
os: | ||
- Visual Studio 2015 | ||
|
||
install: | ||
- ps: Install-Product node 4.4.4 | ||
- npm install | ||
|
||
test_script: | ||
- node --version | ||
- npm --version | ||
- npm test | ||
- node scripts\package.js | ||
- bash scripts\package.sh | ||
|
||
deploy: | ||
provider: S3 | ||
access_key_id: | ||
secure: cq7lgQP04314hwXwM2l0yiUKRcOkwHeKkDHFULrThxE= | ||
secret_access_key: | ||
secure: AMUWZVZ4o7lS6f5ogqxTTCqDUR/TYEmPaVXzb7yRRyFUTF/zQFnZHYk1G/j7ie8/ | ||
bucket: ds-server-artifacts | ||
folder: $(APPVEYOR_REPO_NAME) | ||
artifact: build\deepstream-* | ||
|
||
build: off |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
var exec = require( 'child_process' ).execSync; | ||
|
||
if( process.argv[2] === 'VERSION' ) { | ||
console.log( require('../package').version ) | ||
} else if( process.argv[2] === 'NAME' ) { | ||
console.log( require('../package').name ) | ||
} else if( process.argv[2] === 'OS' ) { | ||
console.log( require('os').platform() ) | ||
} else if( process.argv[2] === 'COMMIT' ) { | ||
console.log( exec( 'git log --pretty=format:%h -n 1' ).toString() ) | ||
} else { | ||
console.log( 'ERROR: Pass in VERSION or NAME as env variable' ) | ||
} |
Oops, something went wrong.