forked from coolacid/oui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (57 loc) · 1.14 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language: ruby
sudo: false
cache:
directories:
- "${BUNDLE_PATH:-vendor/bundle}"
- vendor/cache
os:
- linux
- osx
rvm:
# Ruby (MRI)
- ruby-head
- ruby-head-clang
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1
- 2.0
- 1.9.3
# JRuby
- jruby-head
- jruby-9.2
- jruby-9.1
- jruby-9.0
# Rubinius
- rbx-3
- rbx-2
env:
global:
- "JRUBY_OPTS='--dev -J-Xmx1024M'"
before_install:
- "echo 'gem: --no-document --env-shebang' > ~/.gemrc"
# https://github.com/travis-ci/travis-ci/issues/6307
- "curl -sSL https://rvm.io/mpapis.asc | gpg --import -"
- rvm get stable
install:
- "rm -f \"${BUNDLE_GEMFILE}\".lock; bundle package --no-install --retry=3 && bundle install --deployment --local --jobs=5"
script:
- "bundle exec ruby -Ilib:test ./test/test_oui.rb"
after_script:
# workaround rvm hanging jobs
- "exit ${TRAVIS_TEST_RESULT}"
matrix:
fast_finish: true
exclude:
# travis is missing this
- os: osx
rvm: 1.9.3
allow_failures:
# alpha-quality software
- rvm: ruby-head
- rvm: ruby-head-clang
- rvm: jruby-head
# Rubinius isn't well supported on travis
- rvm: rbx-3
- rvm: rbx-2