-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (26 loc) · 1.63 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
language: node_js
node_js:
- node # uses most recent stable node version
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 "misfitmerch-test";' -U postgres # remember to change this name if you change it elsewhere (e.g. package.json)
before_deploy:
- npm run build-client # make the bundle
- rm -rf node_modules # omit from the tarball, since we skip cleanup
deploy:
skip_cleanup: true # prevents travis from deleting the build
provider: heroku
app: misfitmerch # see README
api_key:
secure: 2dtVtkk6qaWaWYx/Af0fkqMAZX48vwS6+P83QS4PTT8bSYNQfS1DkTYpXi6qJUW3ObFdhCwuRRp4Xj1O8c9v+CDfKwCGeDW78U+TubiikS0NqokG4+kBjY318VGjuRMnC5I4ago3wHjTtFdBjFYOCSbrGlYg4OR2cd+ya+Nx4dFwXEHrEbLS/sUI92T/pO/6v/UC52uNGCXwWhfT2RLPzCBkeR39Fwvn1hQMQ1Pg1VB9Uf4NS/5RU6nIH9ZqhJOZG3M5lK3Z5OQS8KlDwAGGT87YI+zGQmir8S8j6gOHiHQSKc5Atc4pCDpsKNgvAMwhGb/w+hu4e4gnLtk65JlWlL7C/PeK1FUMkGRxQujncAAl7v0LRUyTSPkoJG7MqLDj/MhH4lsC9altuZXHJ9Um3cxDWxTgTIjPmZ1BUY8qQfYMKKUkC2TK/dI0ton6d1BtxRJkwisNLEwskkOmjm51zK0RTtR6xl33iWdUdqkVMdEs3ztwgSlAWQnVwT6r4v9Pzy3BsuzpA+7IDsNhhvBjiiPrIMw7siGbeONoIK5mrPsOoLM1EkTgUPIkLViUifdebLJbNJ5vw6ln/QFfxa2y7yfUOrTHfnYxyoQS+jZGZpfPmvglPBP0r+UVRheHIdlM5rXvOgX+Vi0SZyaS+bKABcaX/9yGAGdOlLNACp3kvzw= # see README