-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
54 lines (40 loc) · 882 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
39
40
41
42
43
44
45
46
47
48
49
50
51
sudo: false
language: ruby
services:
- postgresql
addons:
postgresql: "10"
apt:
packages:
- postgresql-10
- postgresql-client-10
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- ruby-head
- jruby-head
matrix:
allow_failures:
- rvm: jruby-9.2.0.0
- rvm: 2.2
- rvm: ruby-head
- rvm: jruby-head
before_install:
- yes | gem update --system --force
- gem install bundler
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 rspec
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
cache: bundler
env:
global:
- CC_TEST_REPORTER_ID=5c94ea74238649cee4b51abbe647de62a3d63971eaeca9aa58c82b62d9a0e6a8
- COVERAGE=1
- PGPORT=5433