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
|
language: bash
|
||||||
# addons:
|
services:
|
||||||
# apt:
|
- docker
|
||||||
# sources:
|
|
||||||
# - debian-sid
|
|
||||||
# packages:
|
|
||||||
# - shellcheck
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository ppa:duggan/bats --yes
|
- docker pull yadm/testbed:latest
|
||||||
- sudo apt-get update -qq
|
|
||||||
- sudo apt-get install -qq bats
|
|
||||||
- sudo apt-get install -qq gnupg
|
|
||||||
- sudo apt-get install -qq expect
|
|
||||||
script:
|
script:
|
||||||
# - make test
|
- docker run --rm -v "$PWD:/yadm:ro" yadm/testbed
|
||||||
- make bats
|
|
||||||
|
|
Loading…
Reference in a new issue