forked from loomio/loomio
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
27 lines (27 loc) · 997 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
env:
- DB=postgresql
before_install:
- sudo apt-get update -qq
- sudo apt-get install imagemagick libmagickwand-dev -qq -y
branches:
only:
- 'master'
- 'production'
- /^[0-9]+\.[0-9]+$/
rvm:
- 2.2.0
before_script:
- "cp config/database.yml.$DB config/database.yml"
- "bundle exec rake db:create RAILS_ENV=test"
- "bundle exec rake db:migrate RAILS_ENV=test"
#- "bundle exec rake db:schema:load RAILS_ENV=test"
- "bundle exec rake db:seed RAILS_ENV=test"
- "sh -e /etc/init.d/xvfb start"
script: "bundle exec rake travis"
addons:
code_climate:
repo_token:
secure: "RQcqTqhx9hhcWO97ib8s8I8m/ufPbBuKRfEEh4RHNIsBEMpqekaPNHtK+T2ym2pfbCpD+L+0bZ+nMlSCrYz0gklfNnYJlPH4/g1f0SX2OEdq2eUCi9xlRObi9ayXsz7Ujtk14mncNGx+e02TnAtEjtFBT8uyvxn8Ql4djvOTsCg="
notifications:
hipchat:
secure: "Ab0VryffWSq0wgEyvrtQB8JD1m6ZcP5zBKDZxniu4avdT16UuDmiDEIVNCnbm5IEwXjugy/WuKsvczxX+4bOoNW6rJfJTotQAbeT3ZdgIHIr+umzUwRPSHqfCp7eztACeYaIin7BmDLNS2W3GQELMvgjsCPs7cGUYeLjNLqs0RE="