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 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