container-openvpn/.travis.yml
Kyle Manna f3a24fee60 travis: Fail when a unit test fails
* Oops, this never actually aborted when something went wrong.
* Fix that and abort.
* Print a brief message about the last script run that blew up.
2016-06-01 13:36:31 -07:00

22 lines
616 B
YAML

# 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
services:
- docker
before_install:
- docker --version
- docker build -t kylemanna/openvpn .
- docker inspect kylemanna/openvpn
- docker run kylemanna/openvpn openvpn --version || true # why does it returns 1?
- docker run kylemanna/openvpn openssl version
script:
- ./test-ci.sh