forked from ruby-ldap/ruby-net-ldap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (47 loc) · 892 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
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
# optional
- ruby-head
- jruby-19mode
- jruby-head
- rbx-2
addons:
hosts:
- ldap.example.org # needed for TLS verification
services:
- docker
env:
- INTEGRATION=openldap
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-head
- rvm: rbx-2
fast_finish: true
notifications:
email: false