-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (18 loc) · 861 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
sudo: required
language: bash
services:
- docker
before_install:
- mkdir bin
install:
- curl -LO https://storage.googleapis.com/container-structure-test/v0.2.1/container-structure-test
- chmod +x container-structure-test
- mv container-structure-test /home/travis/bin/container-structure-test
before_script:
- docker image build -t ine1127/docker-slapd .
- docker image build -t ine1127/docker-slapd-test-base -f test/Dockerfile.test --target test-base .
- docker image build -t ine1127/docker-slapd-test-mdb -f test/Dockerfile.test --target test-mdb .
- docker image build -t ine1127/docker-slapd-test-bdb -f test/Dockerfile.test --target test-bdb .
script:
- container-structure-test -test.v -image ine1127/docker-slapd test/container-test-prod.json
- container-structure-test -test.v -image ine1127/docker-slapd-test-base test/container-test-base.json