Run Travis CI tests within docker container
This commit is contained in:
parent
06757b3544
commit
0a5741df8f
1 changed files with 5 additions and 13 deletions
18
.travis.yml
18
.travis.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue