-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
28 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
28
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 "cache-cache-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: ripeapples # see README
api_key:
secure: F/VBvH2WtM2NWGMz0JT1f52XG7LzmbvaPYvnI9JaDYvngdZrWHkdBPaXWBBTn3gykHgRVtOL9Zo3baAPOP0V/pxvAtZKSInBko98u7LAyZyGK8lCK9eSk5hhx+v9wec36D00tc26zdnWewnd4T3qtlrOWnRtiI0Ob7cIU9hUn22S4AKL8dJKxqX0qLKVqGehLFdVGXHj/QHWFQ7aWAqqhSEAmbOZDG1v+8gnEo6swUpm2V8pqmvoEnYwZZbSQq56rjojrxkUSbtxP41NbJRITu4UV8DgejU6PvLFrCD0uN5FcLeozwavfx7hsaYdQzvNHk6eSQpZ/LQSSOqrEUP+aBlqp+JVBlVw880rKkkLrUuBmCycBZ+3rsmC/h+tRIMDKEON4dUcJuMib+SJQoUkfes0APwOE5DCRf+nSFaviOVZiLm0FbdgmUTD46L39Lz/vA0T8IFaawwD0jaiKzOScDwn4eNuf8cL9tWrKO/1U+Tw0mP3vVbipP5PCgmo915hW+29iJnKTYC88Q4SKYbhn3bO+FQvcYlNktdXjx40DKEI+vEz9Gw77vB9aflWn/mKpK/xeZWC3jbSho527Wj6Z1H8ATa+RZEXHiSQzbIOsol2HJULklrj6DKlghLL1wEUadRnQFbNURdAtbFrQyo9UyUxSLzIHuwijea8/XBLJO0= # see README