forked from igrigorik/vimgolf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 963 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
os: linux
dist: focal
env:
- GOLFHOST=https://vimgolf-staging.herokuapp.com
jobs:
include:
- rvm: 2.6.7 # Test web AND cli with specific version
gemfile: Gemfile
- rvm: 2.4 # Test only the cli.
gemfile: lib/vimgolf/Gemfile
- rvm: 2.3 # Test only the cli, on older Ruby.
dist: xenial
gemfile: lib/vimgolf/Gemfile
- rvm: 2.0 # Test only the cli, on older Ruby.
dist: trusty
gemfile: lib/vimgolf/Gemfile
services:
- mongodb
before_install:
- ls -l /home/travis/.rvm/gems # Future reference, targets for quick build
- cd `dirname $BUNDLE_GEMFILE`
- pwd # For debug info
- gem install -v 1.16.2 bundler # Travis's Bundler 1.7.6 is causing problems
script:
- bundle exec rake
addons:
apt:
sources:
- mongodb-2.6-precise
code_climate:
repo_token: 87b58d792ac24c87c9eb7957aa3fe7e05f72f800619452853270ed6a8f5b3853
after_success:
- bundle exec codeclimate-test-reporter