CyberChef/.travis.yml

33 lines
600 B
YAML
Raw Normal View History

2017-03-30 20:58:58 +02:00
language: node_js
node_js:
- node
2017-03-30 20:58:58 +02:00
install: npm install
before_script:
- npm install -g grunt
script:
- grunt lint
- grunt test
- grunt docs
- grunt node
- grunt prod
before_deploy:
- grunt copy:ghPages
2017-03-30 20:58:58 +02:00
deploy:
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: build/prod/
target_branch: gh-pages
on:
branch: master
- provider: releases
skip_cleaup: true
api_key:
2017-03-31 12:27:39 +02:00
secure: $GITHUB_API_KEY
2017-03-30 22:18:33 +02:00
file:
- build/prod/cyberchef.htm
- build/node/CyberChef.js
on:
repo: gchq/CyberChef
tags: true