-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (28 loc) · 1.71 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: node_js
node_js:
- 12 # uses version 12
services:
- postgresql # starts up postgres
addons:
postgresql: '9.6' # highest available postgres version on Travis
dist: trusty # uses trusty environment
sudo: false # when on trusty, uses Docker containers for speed
notifications:
email:
on_success: change # default: change (only when going from broken to fixed)
on_failure: always # default: always (which is annoying, as it should be)
install:
- npm ci # faster, goes only from package-lock
before_script:
- psql -c 'create database "deployment-exercise-test";' -U postgres # remember to change this name if you change it elsewhere (e.g. package.json)
before_deploy: # omit node_modules, since we set skip_cleanup below
- rm -rf node_modules
deploy: # see README for details on these keys
# prevents travis from deleting the build
skip_cleanup: true
provider: heroku
# app should be your heroku app name; see README
app: secure-sands-38179
# the secure key indicates an encrypted value; see README
api_key:
secure: mqEIVhcfJKspoX7mHjDT/3cQrX9bJ9gNJLJfxUAv0o+jhEU3MFoq3/agmTvW7jWuFGTL6WxdMz/kk6zEodX+MHWwJ1Yp/+8WL7urNpnmF9DUU74q/PQ2BjM5EAA+Ntl/y9SbuoFk7JwHe7TBaEi7aGDMMKSURmnUV3D454IK8W6xKZbmUjYXLQfqiUH4yuBFwFBu9j6rtv3NOzMri0s9ppN0Wo1yKq4sx1qbuWyxFU20Q2du4UBj0KxCOXM76ZFDEEVAo8ovzIOXxHOKn7i7s3XCugnA07YpraKk9z/dulxXOJpYxX3LJGOn8DtGKiG/kaIvTl/Czpy76hx6OgPmtnNyAvPMl9oXLiy4RiWK2dB3N/0NQl7769FBtJTXDXLjrlvdRbFNRWxxM6MeVSn4EZ55W/cQZ4b9qlp3Qh682rGopn+VlInuFa50jfWmB7/ActPtHi+veHGU/xjph6+N/JO+33OUZ7IT4a3i+YbaNKzQChQZkW2O+qC9r/lUwqjrjr+N2waB0YcyOtlbt43Yz/+ZOa0HfGEetrtSRLkE0LTrFhF2MEnr8Ze9T/XtjdqN73OIS4RvaRY8uvTQGX1p9ZAOtUSLV8HhfyfMhFLWKlTfGR9va1x58DcjbY+yrYAuZRJl6E0d3hymGQNLtloxuBABXVzOq8WyyMXW0kaY8zc=