summaryrefslogtreecommitdiff
path: root/spec/ruby/.travis.yml
blob: 467a5e9f68db48f7269faf1185bfe1ef3b9fdce0 (plain)
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
sudo: false
language: ruby
install:
  - git clone https://github.com/ruby/mspec.git ../mspec
script:
  - CHECK_LEAKS=true ../mspec/bin/mspec
matrix:
  include:
    - name: Running each spec twice
      rvm: 2.5.5
      script:
        - CHECK_LEAKS=true ../mspec/bin/mspec -R2 -ff
    - rvm: 2.4.6
    - rvm: 2.5.5
    - rvm: 2.6.3
    - name: RuboCop Lint Checks
      rvm: 2.4.6
      script:
        - gem install rubocop:0.61.0
        - rubocop
branches:
  only:
    - master
    - /^try/
notifications:
  email:
    on_success: change
    on_failure: change