-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (28 loc) · 1.14 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: ruby
sudo: false
rvm:
- 2.2.3
cache:
bundler: true
env:
- DB=pgsql
services:
- postgresql
before_script:
- cp config/database.yml.travis config/database.yml
- psql -c 'create database lodestar_test' -U postgres
script:
- RAILS_ENV=test bundle exec rake db:migrate
- bundle exec rake db:test:prepare
- bundle exec rake
branches:
only:
- master
deploy:
provider: heroku
api_key:
secure: TzxufipsFYSvAdCqyGVytpb0CWI8Z9npoDoxgUnhdj4qGVHasSRdjl4OMusW2nNErgbStVRA++mn3UdFpqNFkqOq8MuDP/dxrxl/pxWga9qs7W/HlFLeQziVaG3QpRw4V/VIyCpxZ/zXexRws3oArCm3T1OsTuEYSTmRDBJ3692+ArduJ64Tufq1Tt1I7jJMX+fzeS6KzH/EUi4zjSlM4aQoNTzPPOSROF2Bi+/fcwvaGjmtOeG87UOtdsfhpSRgW5oFHGa6bNKw575YaSsthyReuJOTTvlyUjk1zMY6IoCcnXW8aWXTEO+G0LJNYA6Z2LKlOgg22ZR6S2Syw/43wcOH3lbA2yqEBrS5PO35o/RgJKT2fNcZP5aLajTEIWtCw24+qpZacLTsBNEjRGmW9UrjPe2s0z8iP5S3E61gftKANfCsT+M0s2kCJJdamP5WcA8Az3G6ey5C0x31zGdz62un9SJcjkCuAPE+UFiysyEDnZvVwk85IbUR4M+MBbcNuXycnqhWeHLUmCMNFpSse6vAv1Ifj8k0D82HqOQ5d1dm8LR5QsoWe2C4vQGiEoiUTj8CzDkfFIW7TRWgyG3sL8WlZkQv/95vo/Ss27FceBIePueesKoiqXHBVOE3svGYSbfCkVrE62scAcyKQSYRNFpCt+qzYHiqGTBmn8N2zlo=
on: master
run:
- rails db:migrate
- rails totem:lodestar:generate