Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revise DM-12869 fix to not break eupspkg.create #3

Merged
merged 2 commits into from
Apr 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
os: linux
language: cpp
matrix:
include:
- env: TEST=shellcheck
services:
- docker
script: |
set -e
shopt -s globstar nullglob
CHECK=( **/*.sh )
[[ ${#CHECK[@]} -eq 0 ]] && exit
docker run -v $(pwd):$(pwd) -w $(pwd) \
koalaman/shellcheck-alpine:v0.4.6 -x "${CHECK[@]}"
branches:
only:
- master
- /^\d+\.\d+(\.\d+)?$/
notifications:
email: false
15 changes: 13 additions & 2 deletions ups/eupspkg.cfg.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# shellcheck shell=bash

# Eupspkg config file. Source by 'eupspkg'
# shellcheck disable=SC2034
TAP_PACKAGE=1

config() {
rm -rf .git
build() {
mv .git .git-save
default_build
mv .git-save .git
}

install() {
mv .git .git-save
default_install
mv .git-save .git
}