forked from ZeroNetJS/zeronet-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (41 loc) · 1.71 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
sudo: false
language: node_js
matrix:
include:
- node_js: 6
env: CXX=g++-4.8
- node_js: 8
env: CXX=g++-4.8
- node_js: 8
os: osx
# - node_js: stable
# env: CXX=g++-4.8
script:
- npm run lint
- npm run coverage
- '[ ! -e .do_interop ] || bash tools/scripts/interop-test.sh'
- npm run test -- -t node
before_script:
- export DISPLAY=:99.0
# - '([ -e /etc/lsb-release ] && sh -e /etc/init.d/xvfb start) || echo "Skipping browser tests"'
- '(docker pull mkg20001/zeronet-docker && touch .do_interop ) || echo "Skipping interop tests"'
- '([ -e /etc/lsb-release ] && node -v | grep "^v8" > /dev/null && touch .do_pkg) || echo "Skipping pkg"'
after_success:
- npm run coverage-publish
- '[ ! -e .do_pkg ] || bash tools/scripts/pkg.sh'
addons:
firefox: 'latest'
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
deploy:
provider: releases
api_key:
secure: Th9XqkYVqVjDfa6sOlwSIRYvt0dtZ5Byx5SYFnSxLvLAQMjcXsZUQMceEjlfwGfSa11IudNIiPkKOeKK6dAgNGVuYDqCj2yG3dJMbxFmnRBiOnRTCE8FIAvmFqiW6px/XSkLwlhaXyoQ1ZF0/lLwcnm9k9iDxtm1AMv4ZBeZbAT+B6XofeQY8GDm85inCJz8ObbVw2wQwck5HxS3A8i4ip/IC5dMgBjQh+iuhYmZ7dFIihfOevXrQQ9Ts8+UqS1GvTUyvRYe45RJ1ESsGKQqP829UiRdKCx3RdxM7KT6069E83Akub3wGgMqp69ltYy6qALF0AElz/olMz50mujavik8DYFQVw03LUONtKFKRuG1JqvddDERxck1LyovAbSizl7C6erXJsCiP9Ii3a5SAUiQiOUNcGFtcGZP0kFXv59Upi6HEAx0240d/7sEt+aYmRevBdRbyuFXCDah1LmeEpa0Ri0AjVDLJR8K+lQs7q2a8xcz1h2/JO3Pk/JTnt9d7tuniw/ds9xRBww+0k3WkpX0vgQ04m9TU0wrJ06L0aaBFojFNuC8TBVMjAgi92kzXxegqTmrcpiXae35tNvIex+iVEi9OIBhDZvE1vDp3gWl+RKhGRR+xrhbnJpcE5VAkBtnmgqdEqs9DkEY9Z3DWiKf10b8r+LB7aVv8FVP8eM=
file_glob: true
file: ".pkg/zeronet-*"
on:
tags: true
skip_cleanup: true