2020-06-20 09:11:30 +00:00
|
|
|
#!/bin/sh
|
2019-11-28 10:28:03 +00:00
|
|
|
|
2020-06-20 09:11:30 +00:00
|
|
|
# This shell 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-20 12:04:56 +00:00
|
|
|
./buildScripts/getBuildToolsApt
|
|
|
|
./buildScripts/getDevLibrariesApt
|
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-08-19 18:43:33 +00:00
|
|
|
#./buildScripts/createContainerUbuntuImageFromDeb
|
2020-06-19 16:20:53 +00:00
|
|
|
#./buildScripts/uploadGitHubRelease
|
2020-07-07 18:01:43 +00:00
|
|
|
#./buildScripts/uploadContainerImage
|