2016-05-25 14:13:49 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2019-03-02 11:12:25 +00:00
|
|
|
- "10"
|
2017-08-14 11:29:16 +00:00
|
|
|
|
|
|
|
env:
|
2017-08-23 10:31:15 +00:00
|
|
|
- NODE_ENV=integration LOG_LEVEL=warn MONGO_URI=127.0.0.1:27017/test_db MONGO_USER=travis MONGO_PASS=test
|
2017-08-14 11:29:16 +00:00
|
|
|
|
2016-05-25 14:13:49 +00:00
|
|
|
services:
|
|
|
|
- mongodb
|
2017-08-14 11:29:16 +00:00
|
|
|
|
|
|
|
before_script:
|
2017-10-17 08:17:54 +00:00
|
|
|
- mongo test_db --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]});'
|
2017-08-14 11:29:16 +00:00
|
|
|
|
|
|
|
before_deploy:
|
|
|
|
- npm run release
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
provider: elasticbeanstalk
|
|
|
|
access_key_id: $AWS_ACCESS_KEY
|
|
|
|
secret_access_key: $AWS_SECRET_ACCESS_KEY
|
2019-03-04 12:12:46 +00:00
|
|
|
region: eu-central-1
|
|
|
|
app: mailvelope-key-server
|
|
|
|
env: MailvelopeKeyServer-env
|
2017-08-14 11:29:16 +00:00
|
|
|
zip_file: release.zip
|
2019-03-04 12:12:46 +00:00
|
|
|
bucket_name: elasticbeanstalk-eu-central-1-936909551620
|
2017-08-14 11:29:16 +00:00
|
|
|
bucket_path: keyserver
|
|
|
|
on:
|
|
|
|
repo: mailvelope/keyserver
|
|
|
|
branch: master
|