2019-11-28 10:28:03 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-12-04 12:06:17 +00:00
|
|
|
# This bash script builds everyting on an TravisCI Linux (Ubunutu) worker
|
2019-11-28 10:28:03 +00:00
|
|
|
|
2020-06-02 11:58:27 +00:00
|
|
|
set -ev
|
|
|
|
|
2019-11-28 10:28:03 +00:00
|
|
|
export UNATTENDED="--assume-yes"
|
2020-06-19 08:34:51 +00:00
|
|
|
|
2019-11-28 10:28:03 +00:00
|
|
|
export MAKE_PARALLEL="-j $(nproc)"
|
|
|
|
|
2020-06-06 06:03:26 +00:00
|
|
|
export PDF2HTMLEX_BRANCH=$TRAVIS_BRANCH
|
2019-11-28 10:28:03 +00:00
|
|
|
|
2020-06-02 15:54:32 +00:00
|
|
|
export PDF2HTMLEX_PREFIX=/usr/local
|
|
|
|
|
2020-06-19 08:34:51 +00:00
|
|
|
export PDF2HTMLEX_PATH=/usr/local/bin/pdf2htmlEX
|
|
|
|
|
2020-06-03 12:17:44 +00:00
|
|
|
# Ensure all Apt packages are installed with no user interaction
|
|
|
|
#
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2020-06-02 15:54:32 +00:00
|
|
|
################
|
|
|
|
# do the build
|
|
|
|
|
2020-06-02 11:58:27 +00:00
|
|
|
./buildScripts/versionEnvs
|
|
|
|
./buildScripts/reportEnvs
|
2020-06-02 18:45:29 +00:00
|
|
|
./buildScripts/getBuildTools
|
|
|
|
./buildScripts/getDevLibraries
|
2020-06-02 11:58:27 +00:00
|
|
|
./buildScripts/getPoppler
|
|
|
|
./buildScripts/buildPoppler
|
|
|
|
./buildScripts/getFontforge
|
|
|
|
./buildScripts/buildFontforge
|
|
|
|
./buildScripts/buildPdf2htmlEX
|
|
|
|
./buildScripts/installPdf2htmlEX
|
2020-06-06 05:18:14 +00:00
|
|
|
./buildScripts/runTests
|
2020-06-03 18:25:05 +00:00
|
|
|
./buildScripts/createAppImage
|
|
|
|
./buildScripts/createDebianPackage
|
2020-06-19 11:55:06 +00:00
|
|
|
./buildScripts/createDockerUbuntuImageFromDeb
|
|
|
|
#./buildScripts/createDockerImageInside
|
|
|
|
#./buildScripts/createDockerImageOutside
|
2020-06-06 05:18:14 +00:00
|
|
|
./buildScripts/uploadGitHubRelease
|
|
|
|
./buildScripts/uploadDockerImage
|