forked from net-ssh/net-ssh
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
45 lines (41 loc) · 1.34 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
language: ruby
sudo: true
dist: trusty
rvm:
- 2.0
- 2.1
- 2.2
- 2.3.0
- jruby-9.1.2.0
- rbx-3.25
- ruby-head
env:
NET_SSH_RUN_INTEGRATION_TESTS=1
matrix:
exclude:
- rvm: rbx-3.25
- rvm: jruby-9.1.2.0
include:
- rvm: rbx-3.25
env: NET_SSH_RUN_INTEGRATION_TESTS=
- rvm: jruby-9.1.2.0
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.25
- rvm: jruby-9.1.2.0
- 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
- gem install bundler -v "= 1.11.2"
- bundle _1.11.2_ install
- BUNDLE_GEMFILE=./Gemfile.norbnacl bundle _1.11.2_ install
- sudo ansible-galaxy install rvm_io.rvm1-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:
- bundle _1.11.2_ exec rake test
- BUNDLE_GEMFILE=./Gemfile.norbnacl bundle _1.11.2_ exec rake test
- bundle _1.11.2_ exec rake test_test
- bundle _1.11.2_ exec rubocop