Add tarvis staging

This commit is contained in:
Crawl
2017-05-13 18:42:15 +02:00
parent b0d4b53d6b
commit eab5c9e7f1
3 changed files with 61 additions and 29 deletions

View File

@@ -1,16 +1,20 @@
language: node_js
node_js:
- "6"
- "7"
cache:
directories:
- node_modules
install: npm install
script:
- bash ./deploy/deploy.sh
env:
global:
- ENCRYPTION_LABEL: "af862fa96d3e"
- COMMIT_AUTHOR_EMAIL: "amishshah.2k@gmail.com"
dist: trusty
sudo: false
language: node_js
node_js:
- "6"
- "7"
cache:
directories:
- node_modules
install: npm install
jobs:
include:
- stage: test
script: bash ./deploy/test.sh
- stage: build
script: bash ./deploy/deploy.sh
env:
global:
- ENCRYPTION_LABEL: "af862fa96d3e"
- COMMIT_AUTHOR_EMAIL: "amishshah.2k@gmail.com"
dist: trusty
sudo: false