2015-09-22 17:22:11 +00:00
# Disallowing packages: openvpn
# If you require these packages, please review the package approval process at: https://github.com/travis-ci/apt-package-whitelist#package-approval-process
#addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - openvpn
2015-09-22 15:16:42 +00:00
services :
- docker
before_install :
- docker --version
2016-08-31 18:12:38 +00:00
install :
- git clone https://github.com/docker-library/official-images.git official-images
2016-08-31 19:42:53 +00:00
# Assist with ci test debugging:
# - DEBUG=1
2016-08-31 18:12:38 +00:00
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
2015-09-22 15:16:42 +00:00
script :
2016-08-31 18:12:38 +00:00
- official-images/test/run.sh "$image"
2016-08-31 18:41:39 +00:00
- test/run.sh "$image"
2016-08-31 18:12:38 +00:00
after_script :
- docker images