forked from rom-rb/rom-sql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 880 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
34
35
36
37
38
language: ruby
sudo: false
cache: bundler
services:
- postgresql
- mysql
bundler_args: --without yard guard benchmarks tools
before_script:
- psql -c 'create database rom_sql;' -U postgres
- mysql -u root -e 'create database rom_sql;'
- rvm get master
after_success:
- '[ -d coverage ] && bundle exec codeclimate-test-reporter'
script: "bundle exec rake ci"
rvm:
- 2.5.0
- 2.3.6
- 2.4.3
- jruby-9.1.12.0
env:
global:
- CODECLIMATE_REPO_TOKEN=03d7f66589572702b12426d2bc71c4de6281a96139e33b335b894264b1f8f0b0
- JRUBY_OPTS='--dev -J-Xmx1024M'
- COVERAGE='true'
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/39e1225f489f38b0bd09
on_success: change
on_failure: always
on_start: false
addons:
postgresql: 9.5
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6