2016-08-17 00:56:55 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2017-01-28 00:17:54 +00:00
|
|
|
- '7'
|
2016-08-28 15:27:05 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2016-09-12 14:19:50 +00:00
|
|
|
- ubuntu-toolchain-r-test
|
2016-08-28 15:27:05 +00:00
|
|
|
packages:
|
2016-09-12 14:19:50 +00:00
|
|
|
- g++-4.8
|
2016-08-17 01:13:48 +00:00
|
|
|
env:
|
|
|
|
global:
|
2016-09-12 14:19:50 +00:00
|
|
|
- CXX=g++-4.8
|
|
|
|
- secure: VCgscCCKhvHu0tW8e3jo6wydckE6jDkEfC2Zd5aSZytYAex05qahU45cmksqMIT1uBCcC4CKRK4caoKac/+818EyKBTV+vAL74cMMc8NeLNVY2m50+ohu8GYu+ByIffttK7cnXN7xIzyuK4csI7qz84jxLW0KYgYQ+6SPbUG3Hy6gr0P0CztNmAFfyhTam4OKSIiXyvQZW0fZoSruOpUYS5pxvCBi4AxpRY8+6IxCL8xYqF49P0l28nn0C/NYUklwag6l4JF32PrcLAU5S+NIXXgJX499cZO4C2m2GljJeolbvGue3ZEtadv5NkmQuFQ1WGb5aURHPkll0hXsWKxT0bH9P1a4Gt1h/J885acWG4U6QZA1Zds/Z4ymNeLA0MzzoAaDK1q8sRglhDJnZYb4Zm5jy7ZA3vFwb+zcGaOT//pCVpcsZINRnd0Qu9LC5NKPrfmyFAAMAXDdo78BEnwryUviWP5976JZmQAfDIWvmGGTs5i1yjiTRi+NVgH0YpfxtI9MTEJo++r5/zNH/jewxj1D8esaamphp6mQvxvpl388veQDw3REUZQ49muzrdK2YYmVRkzLfH2uMsHInN3WqEl3/mTpH76u0nlxMF6HlrVdgB2UNPjlXbSooWXLfdAw98NpCZ7BAFcCcT8Oa9cYw+40rJrdfem5J2EimG5ltw=
|
2016-10-17 22:46:13 +00:00
|
|
|
- secure: afxMIIz9YeKKBc0WdafTrQorzsIZSEM8wqUB3ffrC41s+FEXl4VGIl8ZxKWZ/k2W+y7qCWSVfS4vMHv6CYy++Xq87NUczWPqFq99QXNHYpXWD0JK3clLY1DADuRDYeVA/kGkjH3MAAVd5s4I8TK7cmLwZDiwT7ybiYGLnAeQPR5IK1p/WwULEE+UTvSXudKfQIpi8K/EjbjLcB+EcDFPngAvX0LW6qXn0E+Z9NG6aru7/QhCTkHTYIc6k6r/bzWKhRAp+XaA184GxsyxNvIWTiBpeVK8XwDORkotobvgvDoz8uQHMjldtNFg5BL386WjNSh0Ljg242GQVTpbh0ju9F4XC7GN11tRDHwOBbSLa+X/sBomyONgBAve6roqtiQgZ3T92SycyjW06vhG7akC+yAKnAKVL+JdWWvg4qPhppKRAa57/5Se9GlAthSXvhfGvkaKtA4IUq9Jr7FksF4f+tCkSfNeJBYnlV+c/oBY7ZZ9gMUslXuDtv8Dbgp2aa4ELeA9R0U+5Ac42JzzbfojwOaLpEvFYs2cdZybOPlUq/EO/rx2Oxi9Xk2oPL4UW9xV5ZlwYmCw/rXpzSWo4dl4i0tEPN+5ZPtgQGz5pIBeI0LGGvEhCya/Tg+Xc9Bd7/0Ox7cLgNk0vrTEVjW+Z/b3XMhVwVlwmTuVM5wylzaZRcc=
|
2016-08-17 00:56:55 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
before_script:
|
2017-03-27 02:07:40 +00:00
|
|
|
- npm run build
|
2016-08-17 00:56:55 +00:00
|
|
|
- npm install -g snyk
|
2016-10-17 22:46:13 +00:00
|
|
|
- snyk auth $SNYK_TOKEN
|
2016-08-17 00:56:55 +00:00
|
|
|
before_deploy:
|
2017-04-05 02:30:36 +00:00
|
|
|
- tar -czf wiki-js.tar.gz * -X .deployexclude
|
|
|
|
- zip -R -q 'wiki-js' -x@.deployexclude *
|
2016-08-17 00:56:55 +00:00
|
|
|
- snyk monitor
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
2016-09-12 14:19:50 +00:00
|
|
|
api_key:
|
|
|
|
secure: TyasQ2QnWQoBhsiwm88oHoeJ+PWBZnbWEJwu6JdN5HA9cXqIdHqd1msCh84gGtKRfL2EObw4AvDwLSEd5mIM0cmQfTiokYbmb7OSjOq880rbZwtXt9t9KkC5b+TIxkhJzkzi7vIpssTeNkVJBbo/R3m0suaCRqzypkW5mhVcsFhhZ8oVCZnI1uZAXCwFNMcFFUAHxWYE98tW5bfxknRU1NJFcXysN8VXskIZ82wQQBAzZ1aQgVyMl6Uw2hns399hxCx8gVKWOIdbpO1bliHBMdm5z+lR5i723IQnHpYJf4gWvPf3oHnSS1ocrJeWVoBqanC5Iu3QhwOvPLPw/AUcJOqhvS/QiGZ2AuA9GwtBpYNVYYGD9RqcODBKZy0fWluwCuVNNoQHmwMWVP7lRnwP+SNtLzzV5ZC8mrjb4B9KGoBUR8Q7lz8cMtLoPOixk1WdWOpIFzKcw/fy8Ze6cnnFKrzsPVUZy3E3SKit3GuP6Nd7ghO0Kxp4x0eAlqFDYRZ9nG55ctd0i2b5u1r+VArt21dk2aMFxL6i67funIraEndLQFHhRgPVmjemJBRXf8j8OYrGStTsm0S26IXo3iVh/NJakIg6mEFJ3j4BXPEjCUmIW0iD6sKGTeNH6jaON+DV4T+ErGnYzgwO5KIfo9cI00DqjG0tjBQ45lWaLGy6PEo=
|
2016-08-17 00:56:55 +00:00
|
|
|
file:
|
2017-03-27 02:07:40 +00:00
|
|
|
- wiki-js.zip
|
|
|
|
- wiki-js.tar.gz
|
2016-08-17 00:56:55 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
overwrite: true
|
|
|
|
on:
|
|
|
|
branch: master
|
2016-09-12 13:44:20 +00:00
|
|
|
repo: Requarks/wiki
|
2016-08-17 00:56:55 +00:00
|
|
|
tags: true
|
2017-01-28 00:17:54 +00:00
|
|
|
node: '7'
|
2017-03-15 01:23:14 +00:00
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/56b27cb2ec4692419db9
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
on_start: never
|