Travis: trying packaging in another dir for upload

This commit is contained in:
Palakis 2017-04-16 01:32:32 +02:00
parent 31e133bf06
commit 935c58b17b
2 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ language: cpp
addons:
artifacts:
paths:
- $(find $(dirname $(pwd))/obs-websocket/package)
- $(find /home/travis/package)
matrix:
include:
@ -13,7 +13,7 @@ matrix:
services:
- docker
before_install:
- docker run -d --name xenial -v $(dirname $(pwd)):/root -w /root nimmis/ubuntu:16.04
- docker run -d --name xenial -v $(dirname $(pwd)):/root -v /home/travis/package:/package -w /root nimmis/ubuntu:16.04
- docker exec -it xenial /root/obs-websocket/CI/install-dependencies-xenial.sh
script:
- docker exec -it xenial /root/obs-websocket/CI/build-xenial.sh

View File

@ -13,7 +13,7 @@ fi
cd /root/obs-websocket/build
rm -rf /root/obs-websocket/package
rm -f /package/*
PAGER=cat checkinstall -y --type=debian --fstrans=no --nodoc \
--backup=no --deldoc=yes --install=no \
@ -21,8 +21,8 @@ PAGER=cat checkinstall -y --type=debian --fstrans=no --nodoc \
--pkglicense="GPLv2.0" --maintainer="contact@slepin.fr" \
--requires="libqt5websockets5" --pkggroup="video" \
--pkgsource="https://github.com/Palakis/obs-websocket" \
--pakdir="$(dirname $(pwd))/package"
--pakdir="/package"
ls -lh /root/obs-websocket/package
chmod ao+r /package/*
chmod ao+r /root/obs-websocket/package/*
ls -lh /package