2017-02-16 12:07:03 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2018-11-21 06:44:15 +00:00
|
|
|
- 8.12.0
|
2017-12-20 08:30:10 +00:00
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
2017-02-17 01:27:42 +00:00
|
|
|
env:
|
2017-12-20 08:30:10 +00:00
|
|
|
global:
|
|
|
|
- CXX=g++-4.8
|
|
|
|
matrix:
|
|
|
|
- USE_SENTRY=1
|
2017-12-20 15:56:01 +00:00
|
|
|
# - USE_SENTRY=0
|
2017-02-16 12:07:03 +00:00
|
|
|
addons:
|
2017-02-17 01:27:42 +00:00
|
|
|
apt:
|
|
|
|
sources:
|
2017-12-20 08:30:10 +00:00
|
|
|
- ubuntu-toolchain-r-test
|
2017-02-17 01:27:42 +00:00
|
|
|
packages:
|
2017-12-20 08:30:10 +00:00
|
|
|
- g++-4.8
|
|
|
|
before_install:
|
|
|
|
- docker pull getsentry/sentry-cli
|
|
|
|
|
|
|
|
script:
|
|
|
|
- npm install
|
|
|
|
- npm run build:dll
|
|
|
|
- npm run build
|
|
|
|
|
2017-11-24 16:26:16 +00:00
|
|
|
before_deploy:
|
2017-12-20 08:30:10 +00:00
|
|
|
- bash deploy/sentry_release.sh
|
|
|
|
- find dist/ -type f -name "*.map" -delete
|
|
|
|
- zip -r dist.zip dist
|
|
|
|
|
2017-11-24 16:26:16 +00:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
skip_cleanup: true
|
|
|
|
api_key:
|
|
|
|
secure: I+BjkiPd+7XnMo1qWFhyz2xqElBLlGuCx1ZamvEa61zk4HPAnfWDPvpxXWihLdE4WDIkrOTRQ6Nh6GlVz+2uFugtdAlrxEWjU3bhadf5hAPNL2faNd52CN2qRNOuaWZmIkY4KUDmKoxvcFVQCKqMCxpghlNT7IJLwaC5wjogMeQKERXSa4rXl/ZGHdZzpkPo8SIEIy7hwQcHDl0ckm3t8wlXe6/xCRR2YoI3enZE15oJ15PChEcYbI6kUHNg3iIAddAAykqU0PnBtGSaPkl2JU90f4Rs62wW626wXyBs39ZU2rSbooyKF7OgFtS7KeTbYxyINBta8JH45plE/HVB3U3wy/8dBneZYr6ySGtSZSV10ortW59Al6Pifyo1na6tgkXSrckUOh1HFSiOsN6k46RXo6T1L1w1P8cUCJ2WYJksHJqBXnQmKbol9x3Gz6fQHR6yA5ToczKmg2ow549Q3g3oRb6RjRzXNkYu9sAZ2mhQ1fIjm7GkYPQvHzze+qwBxeX/ysFwIUNjUnK6u6EZunShz6fF9NEsDxzfUXPDOfB28MmxGkIi6TuT21F8tKfCG0C0CqLWBBve2agU9gutvIA1aY9i5K0YnlXPah1NYYzDPlk1RepWzJrq9VzGz3HxwY++cm6vR/7o9V+3WVpMIWHjnYwDTpK7pfm3VYbiLlg=
|
|
|
|
file: dist.zip
|
|
|
|
on:
|
|
|
|
repo: QingdaoU/OnlineJudgeFE
|
|
|
|
all_branches: true
|
|
|
|
tags: true
|