Run Travis CI tests within docker container

This commit is contained in:
Tim Byrne 2017-01-05 16:44:13 -06:00
parent 06757b3544
commit 0a5741df8f
No known key found for this signature in database
GPG Key ID: 6CBE24C2FD8CF76E
1 changed files with 5 additions and 13 deletions

View File

@ -1,17 +1,9 @@
---
sudo: required
language: bash
# addons:
# apt:
# sources:
# - debian-sid
# packages:
# - shellcheck
services:
- docker
before_install:
- sudo add-apt-repository ppa:duggan/bats --yes
- sudo apt-get update -qq
- sudo apt-get install -qq bats
- sudo apt-get install -qq gnupg
- sudo apt-get install -qq expect
- docker pull yadm/testbed:latest
script:
# - make test
- make bats
- docker run --rm -v "$PWD:/yadm:ro" yadm/testbed