forked from surveyjs/custom-widgets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (39 loc) · 1.98 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
language: node_js
node_js:
- '8'
before_install:
- stty cols 80
env:
global:
secure: jx34zGaqOAi0fej4CAGaFZmC7mXhugGk368XOuMkRwdGTzFIT1AtyT8hIT5lCAz5lSPogJY364BJ5IKHQsbtiYKfmHE6MB5D8wz3+Lg06pbZmRxuDFQgblJISaSpg1ZFtJatHscOT1ZfUmqEMHFWdrcMvMbmsuFEGxv6Yks2g/wmwIWYtfRfvOrcyCL2XWmYc9gctqv1HbpLJb5xfugTgmKnYOSuwYb5CuRIM2imky8vb4pkmveo7QpA48lAlMn2WrgtO5Zk5Vhn06R7YbC8AzACWe4F1TDr6x0h27f8M3nEYtib6/rovRYkh4lz816GjZEqG8nA1N9a/RCGgRHUG5LBO1KFZ0RbECUfBzGdYiJwcG6FUleTeGqJOo5RjxLhIsuk8OLbJ+8bAhNt4D/gAGmnGH+KQHJld+MCqIraKtdvydaO5U1L2El1S7GUD972GNj4bnisk99oqaqxOzvDT0W9HihhgbAh7vjGqVVOmNlio8voEWDZu4ru9HHxPkQ4DNu8fNRaQqIuIGWeFypHBWG3Bt38RzZpxVmxIDhdUkGu1dJdSPZeHuvheDkSJy62eIjAJnnxFGqTn7cTveUozh5Lky2iTjQuiifk5hFcLNroWcZJNHNgJQd915Q0iVYE3VOxVoPlh01urfeyvCKYiXOsFhgLGTfL8rzqk+JvDvs=
sudo: required
addons:
firefox: latest
chrome: stable
services:
- xvfb
before_script:
- "export DISPLAY=:99.0"
- sleep 3
- npm install -g concurrently@3.1.0
script:
- npm run build
before_deploy: tar -zcvf surveyjs-widgets.tar.gz package
deploy:
- provider: releases
api_key:
secure: E3d7Q7uG+cwel2sGfm4vpmVk3s5BY04EC2wkMO/tzMqk8uhAqeESZuYsFauQUf+6MOJxW5bAgy2RYotXMU9JN2zppNi5yS33SyjwWksJ3//nDMXSpYrbImSHFEavqC0Z/zRuYTiDoQMghktZznWORrBorFNVo/MigV7FIcRk5rqSCccWXuC3Me9R6nKP+mUiVXQwP4ZOMLbFxCDa4ibx/hz2z9pUSLa5B+2pgoS3OLkoCP284/fi2nTIIlkQz8m1Hk14abcqVnRYivsIBA6kwBERZN6QZo6YkEKV297H5Xo/v8ZrtYVaW4hnQH1dP25RB7cFpPblsImdmkWTYhTYgj0z4oDfSuM6Ozg9S9CgB60GzZ7KoY79Ou7waZqehLPmaVyA1aLD+wTbTBSLxQPSxRExEL1Ibfw+nxzwpv6QifrEuNPPoQsxr4syVY4lbC/jsI1DJ3IXUhJnkojJmN/YOAFiBxKAD1omeIEcXp9sAAVsE0aqTS5kPmcoFNw9rcfRzyUcvHLg5Ft+NYmAE0OAvt59nz8nRLMH+F2OR89N14hTGJuPU16TKOSWdPRyFhCBCSXCfh5vKdNRwL3LvgjWrD2N8ZR7AyiHvIYfNRd1wZXTydFQN1D4g4DKEHW9ajDIPl2SVkwsEy8HYcf4VdnEVWjm3v6+fWOEF0vLpzH0Vig=
file:
- surveyjs-widgets.tar.gz
skip_cleanup: true
on:
tags: true
- provider: script
script: chmod +x ./deploy_npm.sh && ./deploy_npm.sh
skip_cleanup: true
on:
tags: true
notifications:
email:
recipients:
- andrew.telnov@gmail.com