Unverified Commit 84ca2f8f authored by Alexis López Zubieta's avatar Alexis López Zubieta Committed by GitHub

Merge pull request #19 from azubieta/arrange_travis_folder

Arrange travis folder
parents 06d76e15 45ed6241
......@@ -50,22 +50,22 @@ matrix:
## Build Debian buster package
- env: PKG_BUILD=DEBIAN_BUSTER
script:
- .travis/build_debian_buster_package.sh
- .travis/debian_buster/build_package.sh
## Build Centos 7 package
- env: PKG_BUILD=CENTOS_7
script:
- .travis/build_centos_7_package.sh
- .travis/centos_7/build_package.sh
## Build Ubuntu Bionic package
- env: PKG_BUILD=UBUNTU_BIONIC
script:
- .travis/build_ubuntu_bionic_package.sh
- .travis/ubuntu_bionic/build_package.sh
## Build OpenSuse 42.3 package
- env: PKG_BUILD=OPENSUSE_LEAP
script:
- .travis/build_opensuse_leap_package.sh
- .travis/opensuse_leap/build_package.sh
## Build ARCH package
- env: PKG_BUILD=ARCH
......
......@@ -3,15 +3,13 @@
# Find the right sources dir path
SOURCES_DIR=`realpath $0`
SOURCES_DIR=`dirname ${SOURCES_DIR}`
SOURCES_DIR=`dirname ${SOURCES_DIR}`
mkdir docker-centos7-build-release
export CENTOS7_PACKAGE_REQUIRES="boost-filesystem, libarchive, cairo, librsvg2"
export CENTOS7_PACKAGE_PROVIDES="libappimage.so.1.0()(64bit), libKF5Attica.so.5()(64bit)"
sudo docker build -t build/centos7 ${SOURCES_DIR}/.travis/docker/centos_7/
sudo docker build -t build/centos7 ${SOURCES_DIR}
sudo docker run -v ${PWD}:/source -v ${PWD}/docker-build-release:/build build/centos7 /bin/bash -c "\
cmake3 /source \
-DINSTALL_LIBAPPIMAGE=On\
......
......@@ -3,10 +3,9 @@
# Find the right sources dir path
SOURCES_DIR=`realpath $0`
SOURCES_DIR=`dirname ${SOURCES_DIR}`
SOURCES_DIR=`dirname ${SOURCES_DIR}`
mkdir docker-build-release
sudo docker build -t build/debian:buster ${SOURCES_DIR}/.travis/docker/debian_buster/
sudo docker build -t build/debian:buster ${SOURCES_DIR}
sudo docker run -v ${PWD}:/source -v ${PWD}/docker-build-release:/build build/debian:buster \
/bin/bash -c "cmake -DINSTALL_LIBAPPIMAGE=On -DINSTALL_ATTICA=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release /source && make -j`nproc` && cpack -G DEB -G DEB -R 0.1.0-debian-buster"
......@@ -3,14 +3,13 @@
# Find the right sources dir path
SOURCES_DIR=`realpath $0`
SOURCES_DIR=`dirname ${SOURCES_DIR}`
SOURCES_DIR=`dirname ${SOURCES_DIR}`
mkdir docker-centos7-build-release
export OPENSUSE_PACKAGE_REQUIRES="libboost_filesystem1_61_0, libarchive13, cairo, librsvg2"
export OPENSUSE_PACKAGE_PROVIDES="libappimage.so.1.0()(64bit), libKF5Attica.so.5()(64bit)"
sudo docker build -t build/opensuse:leap ${SOURCES_DIR}/.travis/docker/opensuse_leap/
sudo docker build -t build/opensuse:leap ${SOURCES_DIR}
sudo docker run -v ${PWD}:/source -v ${PWD}/docker-build-release:/build build/opensuse:leap /bin/bash -c "\
cmake /source \
-DINSTALL_LIBAPPIMAGE=On\
......
......@@ -3,10 +3,9 @@
# Find the right sources dir path
SOURCES_DIR=`realpath $0`
SOURCES_DIR=`dirname ${SOURCES_DIR}`
SOURCES_DIR=`dirname ${SOURCES_DIR}`
mkdir docker-build-release
sudo docker build -t build/ubuntu:bionic ${SOURCES_DIR}/.travis/docker/ubuntu_bionic/
sudo docker build -t build/ubuntu:bionic ${SOURCES_DIR}
sudo docker run -v ${PWD}:/source -v ${PWD}/docker-build-release:/build build/ubuntu:bionic \
/bin/bash -c "cmake -DINSTALL_LIBAPPIMAGE=On -DINSTALL_ATTICA=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release /source && make -j`nproc` && cpack -G DEB -R 0.1.0-ubuntu-bionic"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment