File: .travis.yml

package info (click to toggle)
ruby-net-ssh 1:6.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,640 kB
  • sloc: ruby: 15,861; makefile: 3
file content (52 lines) | stat: -rw-r--r-- 1,482 bytes parent folder | download | duplicates (2)
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
language: ruby
sudo: true
dist: trusty

addon:
  hosts:
    gateway.netssh

rvm:
  - 2.3.8
  - 2.4.8
  - 2.5.7
  - 2.6.5
  - 2.7.0
  - jruby-9.2.11.1
  - rbx-3.107
  - ruby-head
env:
  NET_SSH_RUN_INTEGRATION_TESTS=1

matrix:
  exclude:
    - rvm: rbx-3.107
  include:
    - rvm: rbx-3.107
      env: NET_SSH_RUN_INTEGRATION_TESTS=
    - rvm: jruby-9.2.11.1
      env: JRUBY_OPTS='--client -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -Xcext.enabled=false -J-Xss2m -Xcompile.invokedynamic=false' NET_SSH_RUN_INTEGRATION_TESTS=
  fast_finish: true
  allow_failures:
    - rvm: rbx-3.107
    - rvm: jruby-9.2.11.1
    - rvm: ruby-head

install:
  - export JRUBY_OPTS='--client -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -Xcext.enabled=false -J-Xss2m -Xcompile.invokedynamic=false'
  - sudo pip install ansible urllib3 pyOpenSSL ndg-httpsclient pyasn1
  - gem install bundler -v "= 1.17"
  - gem list bundler
  - bundle _1.17_ install
  - bundle _1.17_ -v
  - BUNDLE_GEMFILE=./Gemfile.noed25519 bundle _1.17_ install
  - sudo ansible-galaxy install rvm.ruby
  - sudo chown -R travis:travis /home/travis/.ansible
  - ansible-playbook ./test/integration/playbook.yml -i "localhost," --become -c local -e 'no_rvm=true' -e 'myuser=travis' -e 'mygroup=travis' -e 'homedir=/home/travis'

script:
  - ssh -V
  - bundle _1.17_ exec rake test
  - BUNDLE_GEMFILE=./Gemfile.noed25519 bundle _1.17_ exec rake test
  - bundle _1.17_ exec rake test_test
  - bundle _1.17_ exec rubocop