-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
39 lines (39 loc) · 1.05 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
36
37
38
39
dist: xenial
language: ruby
sudo: false
rvm:
- 2.7
- jruby-9.2.6.0
- 3.0
gemfile:
- gemfiles/ar71.gemfile
matrix:
allow_failures:
- rvm: jruby-9.2.6.0
services:
- mysql
addons:
apt:
packages:
- language-pack-ko
code_climate:
repo_token: 839b9b8aed0dde7b406316ac3cdfcaba6a5a8466c3efe68cc2d21ec597d00ee3
env:
global:
- MYSQL_USER=root
- MYSQL_HOST=""
- MYSQL_PORT=3306
- CC_TEST_REPORTER_ID=fe440aa514caa78124e40aafa2d6f748e9c0d6a61b13d6cad29299f568651166
before_script:
- mysql -u root -e 'CREATE DATABASE IF NOT EXISTS mysql2rgeo_adapter_test;'
- mysql -u root -e 'CREATE DATABASE IF NOT EXISTS mysql2rgeo_tasks_test;'
- mkdir tmp && touch tmp/tmp.sql
- 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 -t simplecov --exit-code $TRAVIS_TEST_RESULT
before_install:
- gem update --system
- gem install bundler