-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
34 lines (26 loc) · 900 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
language: ruby
bundler_args: --without development
rvm:
- 2.7.1
gemfile:
- Gemfile
- gemfiles/mongoid7.gemfile
env:
global:
- CI="travis"
- JRUBY_OPTS="--server -J-Xms512m -J-Xmx1024m"
- CC_TEST_REPORTER_ID=fd17c835d3e49ec85fddd67f8834b7652021efd7653d8d00f8be67d6229bdc2e
matrix:
- MONGODB=4.0.3
before_script:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB}.tgz -O /tmp/mongodb.tgz
- tar -xvf /tmp/mongodb.tgz
- mkdir /tmp/data
- ${PWD}/mongodb-linux-x86_64-${MONGODB}/bin/mongod --dbpath /tmp/data --bind_ip 127.0.0.1 --auth &> /dev/null &
- 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
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
notifications:
email: false