Skip to content

Commit

Permalink
Merge pull request #3 from lsst/tickets/DM-14097-publish-fail
Browse files Browse the repository at this point in the history
revise DM-12869 fix to not break eupspkg.create
  • Loading branch information
jhoblitt committed Apr 13, 2018
2 parents 78ee252 + 246bb35 commit 0f9eb88
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
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
}

0 comments on commit 0f9eb88

Please sign in to comment.