keyserver/.travis.yml

36 lines
700 B
YAML
Raw Normal View History

2016-05-25 14:13:49 +00:00
sudo: false
language: node_js
node_js:
- "8"
env:
- NODE_ENV=integration LOG_LEVEL=warn MONGO_URI=127.0.0.1:27017/test_db MONGO_USER=travis MONGO_PASS=test
2016-05-25 14:13:49 +00:00
notifications:
email:
- build@mailvelope.com
2016-05-25 14:13:49 +00:00
services:
- mongodb
before_script:
- mongo test_db --eval 'db.addUser("travis", "test");'
before_deploy:
- npm run release
deploy:
skip_cleanup: true
provider: elasticbeanstalk
access_key_id: $AWS_ACCESS_KEY
secret_access_key: $AWS_SECRET_ACCESS_KEY
region: eu-west-1
app: keyserver
env: keyserver-prod
zip_file: release.zip
bucket_name: elasticbeanstalk-eu-west-1-936909551620
bucket_path: keyserver
on:
repo: mailvelope/keyserver
branch: master