forked from holderdeord/hdo-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 1.07 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
language: ruby
rvm:
- 1.9.3
services:
- postgresql
- elasticsearch
notifications:
webhooks: http://deploy.holderdeord.no/travis
recipients:
hipchat:
rooms:
secure: "dPDcvtGQXXzdj31ftZkRShrn+l1TCnTEPTdr6YVAfzAI1Ashzhr4yGvnNfMs\n4lbxYDJfRxpTO5Xd1Hte5HH7c0ijoHEGjajySSl43+nLeShw+CWhuxKSbmCM\nnICGbjLhNPSDTIg1QPO/AkUCF3YG6szmd3JX9XLathUrt0HOBTY="
on_success: change
on_failure: change
template:
- "%{author} | %{commit} | %{message} | %{build_url}"
irc:
channels:
- "irc.freenode.net#holderdeord"
on_success: change
on_failure: change
template:
- "%{author} | %{commit} | %{message} | %{build_url}"
script: "RAILS_ENV=test SPEC_OPTS=--backtrace bundle exec rake travis"
before_script:
- dpkg -s elasticsearch | grep --color=never Version
- mv config/database.yml.travis config/database.yml
- sh -e /etc/init.d/xvfb start
- 'npm install -g buster autolint || (sleep 5 && npm install -g buster autolint)'
env:
global:
- DISPLAY=:99.0
- COVERAGE_THRESHOLD=83
- RUBY_GC_MALLOC_LIMIT=50000000