forked from deepstreamIO/deepstream.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
74 lines (62 loc) · 1.29 KB
/
Copy path.travis.yml
File metadata and controls
74 lines (62 loc) · 1.29 KB
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
64
65
66
67
68
69
70
71
72
73
74
sudo: true
language: node_js
before_install:
- gem install fpm --conservative || echo "FPM install failed"
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
if [ "$CC" == "gcc" ]; then
export CC=$(ls -t /usr/local/bin/gcc-?.?);
fi
fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
export CXX=g++-4.8;
fi
compiler:
- gcc
- clang
node_js:
- "10.15.2"
env:
- DEFAULT_DELAY: 50
matrix:
include:
- node_js: "10.15.1"
osx_image: xcode7.3
os: osx
- node_js: "10.15.1"
os: linux
script:
- npm run lint;
- npm run coverage
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sh scripts/run-e2e.sh;
fi
# This has to happen here and not in before_deploy to be put in travis cache
- bash ./scripts/package.sh true
cache:
directories:
- nexe_node
deploy:
- provider: releases
skip_cleanup: true
api_key: $GITHUB_TOKEN
file_glob: true
file:
- "build/*.pkg"
- "build/*.deb"
- "build/*.rpm"
- "build/*.tar.gz"
- "build/*.zip"
on:
tags: true
services:
- redis-server
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- rpm
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
notifications:
email: false