1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00
pdf2htmlEX/buildScripts/travisLinuxDoItAll
2020-06-19 10:24:16 +01:00

41 lines
959 B
Bash
Executable File

#!/bin/bash
# This bash script builds everyting on an TravisCI Linux (Ubunutu) worker
set -ev
export UNATTENDED="--assume-yes"
export MAKE_PARALLEL="-j $(nproc)"
export PDF2HTMLEX_BRANCH=$TRAVIS_BRANCH
export PDF2HTMLEX_PREFIX=/usr/local
export PDF2HTMLEX_PATH=/usr/local/bin/pdf2htmlEX
# Ensure all Apt packages are installed with no user interaction
#
export DEBIAN_FRONTEND=noninteractive
################
# do the build
./buildScripts/versionEnvs
./buildScripts/reportEnvs
./buildScripts/getBuildTools
./buildScripts/getDevLibraries
./buildScripts/getPoppler
./buildScripts/buildPoppler
./buildScripts/getFontforge
./buildScripts/buildFontforge
./buildScripts/buildPdf2htmlEX
./buildScripts/installPdf2htmlEX
./buildScripts/runTests
./buildScripts/createAppImage
./buildScripts/createDebianPackage
./buildScripts/createDockerImageInside
./buildScripts/createDockerImageOutside
./buildScripts/uploadGitHubRelease
./buildScripts/uploadDockerImage