Skip to content

Commit

Permalink
travis: add 'make srpm' test on centos
Browse files Browse the repository at this point in the history
  • Loading branch information
xdelaruelle committed Oct 9, 2017
1 parent 7d93c42 commit fbef2dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ before_install: |
case "${OS_NAME}" in
centos)
if [ $OS_VERSION -eq 6 ]; then SPHINX_PKG='python-sphinx10'; else SPHINX_PKG='python-sphinx'; fi
docker exec $CONTAINER yum install -y tcsh zsh ksh tcl make wget perl $SPHINX_PKG git dejagnu man-db $EXTRA_PKGS &&
docker exec $CONTAINER yum install -y tcsh zsh ksh tcl make wget perl $SPHINX_PKG git dejagnu man-db rpm-build bzip2 $EXTRA_PKGS &&
docker exec $CONTAINER wget -O /etc/yum.repos.d/shells_fish_release_2.repo http://download.opensuse.org/repositories/shells:fish:release:2/CentOS_${OS_VERSION}/shells:fish:release:2.repo &&
docker exec $CONTAINER yum install -y fish ;;
opensuse)
Expand All @@ -207,6 +207,7 @@ script:
- $CMD_PREFIX make install
- $CMD_PREFIX make testinstall
- $CMD_PREFIX make uninstall
- if [ "$OS_NAME" = 'centos' ]; then $CMD_PREFIX make srpm; fi

# report code coverage results
after_success: |
Expand Down

0 comments on commit fbef2dc

Please sign in to comment.