tty-table
Version:
Command line table generator.
36 lines (28 loc) • 900 B
YAML
sudo: required
#language: node_js
#node_js:
# - "node"
env:
# Test package on all supported OSes.
- distribution: centos
version: 7
- distribution: ubuntu
version: 12.04
- distribution: ubuntu
version: 14.04
services:
- docker
before_install:
# Pull base image
- 'sudo docker pull ${distribution}:${version}'
# Create custom image named: ${distribution}-${version}:tty-table
- 'sudo docker build --no-cache=true --file=docker/Dockerfile.${distribution}-${version} --tag=${distribution}-${version}:tty-table .'
before_script:
# Create virtual framebuffer so display output can be read with
# correct dimensions by test suite
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
# Create a container from the custom image and run tests on it
- 'sudo docker run --name="${distribution}-${version}" ${distribution}-${version}:tty-table'