forked from deepstreamIO/deepstream.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (54 loc) · 1.53 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
language: node_js
before_install:
- gem install fpm --conservative || echo "FPM install failed"
env:
- CXX=g++-4.8
node_js:
- "6"
- "5"
- "4" # Stated specifically for packaging
matrix:
include:
- node_js: "4"
os: osx
script:
- npm run coverage
# This has to happen here and not in before_deploy to be put in travis cache
- chmod 555 scripts/package.sh
- ./scripts/package.sh
cache:
directories:
- nexe_node
deploy:
- provider: s3
access_key_id:
secure: "fLOgKfeYND9wXaJvb0c2JVHy0pmn4HqV6A76bu1m0s4PtlTlP4TwXCTvWjB/261ya+6p8/6ojXndoMoBl4QTTwYEo50VNIyb6/iQCfMpzd9/w5GHOnhct2msk73V8D/nBPSgKwxjKwo2ADITc3dnUT+e8APwfNn5LZMIJSU1lx0="
secret_access_key:
secure: "PkII9sQVt7Ld+y+JmNYgunTbxHl3l85BahlgUds1JYGMmpsupoHhDs9RpchgF0HKbruQdfRQpiSsgEMHltebnt29QkX0q4G0Umqb4oi5Sfjr8YnTm7+dHwx5ZH0fMIUGS46R3QV7labStTJhLvl/siJimv6VLRd6BHIQmVrc4KM="
bucket: ds-server-artifacts
skip_cleanup: true
acl: public_read
local_dir: build
upload-dir: $TRAVIS_REPO_SLUG
on:
branch: master
- provider: releases
skip_cleanup: true
api_key:
secure: "UeDGbc9qehbKD63mNT4IebRpcPdctgqAlk7GNrz6/l6rPBsyLALd0o7mqHYcF0Dd2kMew1fDBiQEBUMTuFaggvGyKDmDkqGCdfo/6dGH07FzTpCwXisZ6u5eXo30deT5q94K1kaU17h8gmowBwmrU6iLXRrxCb6fkq58GX8P9tE="
file_glob: true
file:
- "build/*.pkg"
- "build/*.deb"
- "build/*.rpm"
- "build/*.tar.gz"
- "build/*.zip"
on:
tags: true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- rpm