forked from GravyTrainOfficial/TastyGravy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.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 "tastygravy-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: gravytrainofficial # see README
api_key:
secure: nnd/nkhzCgSIiBOoz3Hkv+jWmgUXKbbQUGy/tH2o7qPKNI7HezEHvk/CqYKUslDOD2IFqNrCKUkwUIqyV+hjofLgKyiKVThNCPNAtB8nohWPytEcPa8CY/w9/0/N6xuJW32t7l3t23lE4eacT93fzptIu125MVMLdp/dz3pSVbl7C9HfdQFf6RGb75R8UIMlWft6q3Oq5Lrf925bS67m1HYDBFM15T+eRFLK+bZlnbCYRRggG/Y6RsteOJG23j9qjWHsty0Cdm4lU7lom5zlQgrbLJC7tlBJqARWoC0YC65ODR2HpovmSRQHcLlxMLNEr/fGJthBEwprBt/xPGXFG27begUGYutVJ9E/b8C3NIe+A6GFVdiDSINh0oXg6Gbi5ZcJtkw1GqUNJUwBNAfVjO7ScTE2cU3583aRrAdG8fb/YIEjPgGkca6ZEFC3EkdFSDUq0aemmwTluXrrI8y6DzPpV8fJQ0utY2wkU8t8da/Nh7p3ufqaEZWr8xY/4Ahm4R1ys3G2t2w2g7YGS63s7bmHicyWr1m8W/QGGZfGQT5dOBLErW8V9+peyifHHoYbiT3jbwGcvEpms5eBvmu56+iyv1MtI8/X6otde2d78CTO7ytsYCjLoJpihlHAlS2lWJV1TOjFAOCqlOwODP4X0bNNXYl2wvKpfDSMRSK65oI= # see README