forked from rubygems/rubygems
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (48 loc) · 913 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
language: ruby
dist: xenial
branches:
only:
- master
- staging
- trying
- /^[\d.]+$/
- /.+-stable$/
env:
- "TEST_TOOL=rubygems"
- "TEST_TOOL=bundler RGV=master"
rvm:
- 2.3.8
- 2.4.6
- 2.5.5
- 2.6.3
jobs:
include:
- stage: linting
rvm: 2.6.3
env: "TEST_TOOL=rubygems"
script: util/ci rubocop
- stage: test
rvm: 2.6.3
env: "TEST_TOOL=bundler RGV=.. BDV=master"
- stage: test
rvm: jruby-9.2.7.0
env: "TEST_TOOL=rubygems"
- stage: test
rvm: ruby-head
env: "TEST_TOOL=rubygems"
- stage: test
rvm: ruby-head
env: "TEST_TOOL=bundler RGV=.. BDV=master"
stages:
- linting
- test
before_script:
- util/ci before_script
script:
- util/ci script
matrix:
allow_failures:
- rvm: ruby-head
env: "TEST_TOOL=rubygems"
- rvm: ruby-head
env: "TEST_TOOL=bundler RGV=.. BDV=master"