travis: Use upstream docker tests
* Run the upstream docker unit tests
This commit is contained in:
parent
96668fedbb
commit
e700aa1f9f
18
.travis.yml
18
.travis.yml
@ -12,10 +12,20 @@ services:
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- docker --version
|
- docker --version
|
||||||
- docker build -t kylemanna/openvpn .
|
|
||||||
- docker inspect kylemanna/openvpn
|
install:
|
||||||
- docker run --rm kylemanna/openvpn openvpn --version || true # why does it returns 1?
|
- git clone https://github.com/docker-library/official-images.git official-images
|
||||||
- docker run --rm kylemanna/openvpn openssl version
|
|
||||||
|
before_script:
|
||||||
|
- image="kylemanna/openvpn"
|
||||||
|
- docker build -t "$image" .
|
||||||
|
- docker inspect "$image"
|
||||||
|
- docker run --rm "$image" openvpn --version || true # why does it return 1?
|
||||||
|
- docker run --rm "$image" openssl version
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- official-images/test/run.sh "$image"
|
||||||
- ./test-ci.sh
|
- ./test-ci.sh
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- docker images
|
||||||
|
Loading…
Reference in New Issue
Block a user