-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
28 lines (28 loc) · 918 Bytes
/
.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
rvm: 2.1.0
addons:
postgresql: 9.3
code_climate:
repo_token: 8a963a52f61bd7530e8493bbf76da96f61e767d14a22c95de12cd40f54347e5b
services:
- postgresql
before_script:
- psql -c 'create database smartbike_test;' -U postgres
- cp config/database.travis.yml config/database.yml
- bundle exec rake db:migrate
- bundle exec rake db:test:prepare
script:
- bundle exec rspec spec/
deploy:
provider: heroku
app: smart-bikes
api_key:
secure: BKMUHZ34pO56SdKDXiRV/RLepi0Zk+wmjv/HIyI11efukbWvMITlURsTMmN4vEJtroyqd1ppgGRYDmcQB6R93/6Jb2QF48M0BM0hhPhfFSTgYkFJqg9lOQ4Hwu0gPQq9rnhec0O4tO24mqbD2KLnBVzZZQDwUMfHo5Qc/mg1Mzg=
run:
- rake db:migrate
- restart
notifications:
email:
slack:
secure: GjyzegchfU+hnSWArnMoit5P8CmI8Bx3TArWL9Kz8ukbLknqcbCcZBC8AhwFdJdjLVIQeUzzMB/Zv69tUzRIULUdoxD5WMXrGReBEGQ2Xk7vNLi6ZSKiaDUlbR0F4uhB5eBTLs+IOJG7NSGrofZyyWc2CNCdXkJMWUlt+z7P250=