forked from innoq/iqvoc
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
56 lines (56 loc) · 1.51 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
dist: precise
language: ruby
cache: bundler
bundler_args: "--without production heroku --retry 3"
rvm:
- 2.2
- 2.3
- 2.4
- ruby-head
# - jruby-head
env:
- DB=sqlite
- DB=mysql
- DB=postgresql
before_install: cp config/travis/database.yml.$DB config/database.yml
before_script:
- bundle exec rake db:drop RAILS_ENV=test
- bundle exec rake db:create RAILS_ENV=test
- bundle exec rake db:migrate RAILS_ENV=test
branches:
except:
- gh-pages
# only:
# - master
notifications:
email: true
slack:
secure: ZUBRGeXiogUhZBsAh3VYj25Ived+i2R4Wk565wx8CufZzo1stWUw1WHf6d/rV+SLuJsBA7T3acb2v90HNbG3RIcHYTAFxNk8c0Cf92HRauTxktscpyxNaRzj0atm8b3xAlbfeasSAZnNJzuSnrnc75YdqqQgSTj1Gyg3KwTdnDg=
on_success: always
on_failure: always
on_pull_requests: false
deploy:
- provider: rubygems
api_key:
secure: oT43pqyfKRtGEXDNj+yypRtUyzf88LA2JPR+fGwZEUfi/CNRWraAhK4BHfs0XaZlMLQlsLSf6iBGX5W49dZSrPzS4C7fFCjZX8/3KYXe7CEquaN6zkV+ll/L7ekuzXPuewFRHJmobbTGMhHQWQJMnqzjJLGaUfG43YpRt0PC6Ag=
gem: iqvoc
on:
tags: true
repo: innoq/iqvoc
# - provider: heroku
# api_key:
# secure: gg/Mb5U2IEVm359R8pP+2hLnU7R80GoJqF+YZliEGf/Fxy2EjYiWzwKJPOCSls+b9py1Xm+rBsFaO4qh5nbmYwX23zpWkETXG+tu0V1X2XH4qsvv+yGJn8IvHt81GibqUYkYLaKrNSHR5GU4K4JlRop1b0OStiHnhfAjLKXUYWU=
# skip_cleanup: true
# app:
# master: try-iqvoc
# on:
# branch: master
# rvm: 2.0
# run:
# - "rake release:create_rev"
# - "rake db:migrate"
addons:
postgresql: '9.3'
matrix:
allow_failures:
- rvm: ruby-head