You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.7 KiB

language: node_js
dist: trusty
node_js:
- "12"
install:
- npm install -g eslint
- npm install -g crx3
- npm install -g web-ext
script:
- make lint
before_deploy:
- >
if ! [ "$BEFORE_DEPLOY_RUN" ]; then
export BEFORE_DEPLOY_RUN=1;
openssl aes-256-cbc -K $encrypted_094982294358_key -iv $encrypted_094982294358_iv
-in burlesco-pkcs8-key.pem.enc -out burlesco-pkcs8-key.pem -d
make build || travis_terminate 1;
bash scripts/gen-gh-pages.sh || travis_terminate 1;
fi
deploy:
- provider: releases
skip_cleanup: true
api_key:
secure: KI+ygLjvGfAJaZsPw20gB35iDH+q1AAIK5OJ1khIc52GSW6P+d6ORU/nTRdysFjmaB4cfDpkjO1rCdwa6Ge4eOCXMY9E3/mS7ZxRY94PT9hELVoNnqiEK/Z4UnrNdrJgBTt7By7R3o5O4hrihGHSbfAqHmbKSg53Xs5BaEW+fOVr36vQYsx3WhK1RhfCh369WWnR0cHqGsaYSfwwkeSLBU6nzmuzivsUwOjxVoX21f8U25c2/rDJzcQ7yjc5STBjYwrnm4Kj/vJyleMP8J78k0Bt3k05O4NOBHwuGSSyC7iSX4SAisjO+dA8a6LfOgKFZXPfjfqI+xOKMdY96Ytlj3hPNe/y1vgWR+FDSV59sdV5XNzlm9MnXKlcTZGzs1bPl1l0oLil6B5cxGnnG3IxsAlEW2QPL8BXzkc+BGqWkoUa1DpPpA0i6H++bHSvFzHtwyS5JzxME8kOI/Go6Ly9ODA9+7F4tgfOQuhtsYbxZG/B6rIhAfiAcqU3MmwaRYcvX64+BosJ0e/gwDF6H5cd6LtTKz+BA3E/9vrtRyBqaxNVJJOpOBMy+GqpORO6i3wO3h1KDvpqqBo8BrXnbotJA6n9DEzKp7GXSzik5lKDLn1iK5sAHzgK2BZf23vsS/0odHboAHvMsV64jLxmQZvMtDgKqe0dzkbrIKdWROIpo6c=
file:
- dist/chromium/burlesco-chromium.crx
- dist/chromium/burlesco-chromium.zip
- dist/firefox/burlesco-firefox.xpi
- dist/firefox/burlesco-firefox.zip
on:
branch: master
tags: true
- provider: pages
skip_cleanup: true
keep_history: true
github_token: $GITHUB_TOKEN
repo: burlesco/burlesco-update
target_branch: master
local_dir: gh-pages
on:
branch: master
tags: true