summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 9 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 7f7bd35e..9e793d9b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,23 +6,26 @@ services:
- docker
env:
+ - DIST=alpine
- DIST=centos6
+ - DIST=debian10
- DIST=fedoradev
- DIST=ubuntu14
- DIST=ubuntu14 BSD=true NETWORK=none
- DIST=tools
before_install:
- - docker build -t bash-completion:$DIST -f test/docker/Dockerfile-$DIST .
+ - docker build
+ --build-arg DIST=$DIST -t bash-completion:$DIST -f test/docker/Dockerfile .
script:
- docker run --name bash-completion
- -e CI=true -e DIST=$DIST -e BSD=$BSD
+ -e CI=true -e DIST=$DIST -e BSD=$BSD -e NETWORK=$NETWORK
${NETWORK:+--network $NETWORK}
- -t bash-completion:$DIST test/docker/docker-script.sh
+ -t bash-completion:$DIST
- if test $DIST = tools; then
- test/run-shellcheck -f gcc bash_completion completions/!(Makefile*);
- test/run-shellcheck -f gcc -s sh bash_completion.sh.in;
+ test/run-shellcheck -f gcc
+ bash_completion bash_completion.sh.in completions/!(Makefile*);
fi
before_deploy:
@@ -39,5 +42,5 @@ deploy:
skip_cleanup: true
on:
repo: scop/bash-completion
- condition: $DIST = fedoradev
+ condition: $DIST = alpine
tags: true