mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
travis full test 1
This commit is contained in:
parent
72dc72625d
commit
633b67144b
@ -89,6 +89,7 @@ matrix:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||||
|
- ./buildScripts/reportEnvs || travis_terminate 1;
|
||||||
- ./buildScripts/getBuildTools || travis_terminate 1;
|
- ./buildScripts/getBuildTools || travis_terminate 1;
|
||||||
- ./buildScripts/getDevLibraries || travis_terminate 1;
|
- ./buildScripts/getDevLibraries || travis_terminate 1;
|
||||||
- ./buildScripts/getPoppler || travis_terminate 1;
|
- ./buildScripts/getPoppler || travis_terminate 1;
|
||||||
|
@ -26,12 +26,12 @@ if [ -x "$(which docker)" ]; then
|
|||||||
FROM $DOCKER_FROM
|
FROM $DOCKER_FROM
|
||||||
COPY ./ /
|
COPY ./ /
|
||||||
RUN ldconfig
|
RUN ldconfig
|
||||||
ENTRYPOINT ["/usr/bin/pdf2htmlEX"]
|
ENTRYPOINT ["/usr/local/bin/pdf2htmlEX"]
|
||||||
DOCKERFILE_HERE_DOC
|
DOCKERFILE_HERE_DOC
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
docker build -t stephengaito/pdf2htmlex:test-`date +%Y%m%d-%H.%M.%S` dockerDir
|
docker build -t stephengaito/pdf2htmlex:test-`date +%Y_%m_%d-%H_%M_%S` dockerDir
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Docker is not installed... skipping creation of a docker image."
|
echo "Docker is not installed... skipping creation of a docker image."
|
||||||
|
22
buildScripts/reportEnvs
Executable file
22
buildScripts/reportEnvs
Executable file
@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This bash script reports the more important TRAVIS environment variables
|
||||||
|
|
||||||
|
echo "TravisCI env:"
|
||||||
|
echo " tag: [$TARVIS_TAG]"
|
||||||
|
echo " branch: [$TARVIS_BRANCH]"
|
||||||
|
echo " commit: [$TARVIS_COMMIT]"
|
||||||
|
echo " build dir: [$TRAVIS_BUILD_DIR]"
|
||||||
|
echo " repo slug: [$TRAVIS_REPO_SLUG]"
|
||||||
|
|
||||||
|
echo "UploadTool env:"
|
||||||
|
echo " suffix: [$UPLOADTOOL_SUFFIX]"
|
||||||
|
|
||||||
|
source ./buildScripts/versionEnvs
|
||||||
|
|
||||||
|
echo "pdf2htmlEX env:"
|
||||||
|
echo " poppler: [$POPPLER_VERSION]"
|
||||||
|
echo " fontforge: [$FONTFORGE_VERSION]"
|
||||||
|
echo " pdf2htmlEX: [$PDF2HTMLEX_VERSION]"
|
||||||
|
echo " docker from: [$DOCKER_FROM]"
|
||||||
|
echo "machine arch: [$MACHINE_ARCH]"
|
Loading…
Reference in New Issue
Block a user