-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
33 lines (33 loc) · 905 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
29
30
31
32
33
---
sudo: true
env:
global:
- CC_TEST_REPORTER_ID=feb97978987d37794883977131b61c2b0a561bb35f4fa62ea30c3c5ce4c0794f
language: ruby
rvm:
- 2.5.3
gemfile:
- Gemfile
- test/gemfiles/activerecord52.gemfile
- test/gemfiles/activerecord51.gemfile
- test/gemfiles/activerecord50.gemfile
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script: bundle exec rake test
after_script:
- ./cc-test-reporter after-build --debug --exit-code $TRAVIS_TEST_RESULT
services:
- postgresql
- mysql
addons:
postgresql: 10
before_install:
- mysqladmin create ruby_simple_search_test
- mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
- createdb ruby_simple_search_test
notifications:
email:
on_success: never
on_failure: change