File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 4
4
- os : osx
5
5
osx_image : xcode9.2
6
6
- os : linux
7
+ dist : bionic
7
8
script :
8
- - make
9
- - if [ "$TRAVIS_OS_NAME" = "osx " ]; then sudo make package ; fi
9
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then make; sudo make package; fi
10
+ - if [ "$TRAVIS_OS_NAME" = "linux " ]; then make deb ; fi
10
11
addons :
11
12
apt :
12
13
update : true
@@ -18,13 +19,19 @@ addons:
18
19
- libedit-dev
19
20
- libreadline-dev
20
21
- libcryptsetup-dev
22
+ - libjson-c-dev
23
+ - libpam-dev
24
+ - devscripts
25
+ - fakeroot
26
+ - debhelper
21
27
artifacts :
22
28
paths :
23
29
- $(ls macosx/pivy-*.pkg | tr "\n" ":")
30
+ - $(ls ../*.deb | tr "\n" ":")
24
31
coverity_scan :
25
32
project :
26
- name : joyent /pivy
27
- version : 0.2.2
33
+ name : arekinath /pivy
34
+ version : 0.5.0
28
35
build_command_prepend : make $(pwd)/libressl/crypto/.libs/libcrypto.a
29
36
build_command : make
30
37
branch_pattern : coverity
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ libdir ?= $(prefix)/lib
22
22
binowner ?= root
23
23
bingroup ?= wheel
24
24
25
- VERSION = 0.4 .0
25
+ VERSION = 0.5 .0
26
26
27
27
SECURITY_CFLAGS = \
28
28
-fstack-protector-all -fwrapv -fPIC \
@@ -515,4 +515,8 @@ setup: .dist/default_config
515
515
@echo ' if [[ ! -e "$$SSH_AUTH_SOCK" || "$$SSH_AUTH_SOCK" == *"/keyring/"* ]]; then'
516
516
@echo ' export SSH_AUTH_SOCK="$$XDG_RUNTIME_DIR/piv-ssh-default.socket"'
517
517
@echo ' fi'
518
+
519
+ deb :
520
+ git archive --prefix pivy-$(VERSION ) / -o ../pivy_$(VERSION ) .orig.tar.gz HEAD
521
+ DEB_BUILD_OPTIONS=" parallel=4" debuild -us -uc
518
522
endif
You can’t perform that action at this time.
0 commit comments