forked from cmdrclueless/ruby-net-ldap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (51 loc) · 970 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
49
50
51
52
53
54
55
56
57
58
59
60
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- jruby-9.2
# optional
- ruby-head
- jruby-19mode
- jruby-9.2
- jruby-head
addons:
hosts:
- ldap.example.org # needed for TLS verification
- cert.mismatch.example.org
services:
- docker
env:
- INTEGRATION=openldap
cache: bundler
before_install:
- gem update bundler
install:
- >
docker run \
--hostname ldap.example.org \
--env LDAP_TLS_VERIFY_CLIENT=try \
-p 389:389 \
-p 636:636 \
-v "$(pwd)"/test/fixtures/ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom \
--name openldap \
--detach \
osixia/openldap:1.3.0 \
--copy-service \
--loglevel debug \
- bundle install
script: bundle exec rake ci
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-19mode
- rvm: jruby-9.2
- rvm: jruby-head
fast_finish: true
notifications:
email: false