summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-01-24 19:24:09 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-01-24 19:24:09 -0300
commit019f3cc463db63abc6460f97deb488deec43840b (patch)
tree08cd5387d6c8af6f688d6468c7e2ae9f25c449be /.travis.yml
parent5732da2af736c40cf693354485446ab4867ecb4d (diff)
downloadbash-completion-019f3cc463db63abc6460f97deb488deec43840b.tar.gz
New upstream version 2.10upstream/2.10
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