This repository has been archived by the owner on Jan 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
31 lines (31 loc) · 1.99 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
language: ruby
cache: bundler
rvm:
- ruby-2.1.8
services:
- postgresql
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- cp config/database.sample.yml config/database.yml
- psql -c 'create database retos_cmx_test;' -U postgres
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle exec rake db:test:prepare
- bundle exec rspec
- bundle exec cucumber
after_script:
- bundle exec rake send_to_codeclimate
addons:
code_climate:
repo_token: fea2f2c40b4fb0243825de6cd18cba1c339b6aa5
notifications:
slack:
secure: rBAJWSOTpcOQcscWpZF8snLoWgOym7gutC+KjT2B4cXbqVrQiFdxEcxWG0RGtfdJErDhVKdn13FifEg7HVICXf+IO5hsFjtxUUrnHLJYOtgKvt2o/vL7JQglCZF86oV7buKsEN+e0WxALL/Syjacueb955oWZMlKwlulcks4O1Bj5OvJhhzvTnuNJevvtaXrAFba91cY1ZnoopgPJGDevASYpLvn5KcNCOZtXdm5fT+CHLTs8UclupncnwaSf30V1LMei2or01/OfUjod7lpP2ZLEAnmmwCVULNUdPDuHMlVSvVJuHGxYfSi1st0O9jyhD+5k1e3cqiHOTQcG/p0SZIIBt4ErA7AHGXUcaVWmbB6jtxVpneRH0s0K5NAvn9I4p6C7+YEPVGntp+XO3kHlFOdyj9NLNilEGnUJcCWx0p6GWti/6emJVvVpU1PWKk34ZMcZckVvkxaJCGVHaC61dxKivefMU+wdjsrxceNBD/kTFTUx3hLSFg91HKz2N6p8owCylh9uU/XbpchiBfdq76dbJytj7EIYGQbkOhHihccnHFjsz3TxmwmRh/mbr8HZ2EA3WS+akPai51T1jRBWDxHfAYsa3cVS0fWNKqbG9uOP37GTnVV+rM0JFpRqj5mZZJ9NbLSVykC9/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