1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

travis full test

This commit is contained in:
Stephen Gaito 2019-11-27 12:24:03 +00:00
parent aedf075ebf
commit 72dc72625d
2 changed files with 25 additions and 36 deletions

View File

@ -20,11 +20,15 @@ services:
compiler: gcc compiler: gcc
branches:
except: # do not build tags that we create using the upload.sh script
- /^(?i:continuous.*)$/
env: env:
global: global:
- UNATTENDED="--assume-yes" - UNATTENDED="--assume-yes"
- FORCE_REINSTALL="--reinstall" - FORCE_REINSTALL="--reinstall"
- UPLOADTOOL_SUFFIX="test-$TRAVIS_BRANCH-$(date +%Y_%m_%d-%H_%M_%S)" # - UPLOADTOOL_SUFFIX="test-$TRAVIS_BRANCH-$(date +%Y_%m_%d-%H_%M_%S)"
#addons: #addons:
# apt: # apt:
@ -84,41 +88,20 @@ matrix:
# - os: osx # Until the build passes, then re-enable. # - os: osx # Until the build passes, then re-enable.
script: script:
- echo $TRAVIS_TAG - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- echo $TRAVIS_BRANCH - ./buildScripts/getBuildTools || travis_terminate 1;
- echo $TRAVIS_BUILD_DIR - ./buildScripts/getDevLibraries || travis_terminate 1;
- echo $HOME - ./buildScripts/getPoppler || travis_terminate 1;
- echo $TRAVIS_COMMIT - ./buildScripts/buildPoppler || travis_terminate 1;
- echo $TRAVIS_REPO_SLUG - ./buildScripts/installPoppler || travis_terminate 1;
- echo $GITHUB_TOKEN - ./buildScripts/getFontforge || travis_terminate 1;
- echo $UPLOADTOOL_SUFFIX - ./buildScripts/buildFontforge || travis_terminate 1;
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh - ./buildScripts/installFontforge || travis_terminate 1;
- pwd - ./buildScripts/buildPdf2htmlEX || travis_terminate 1;
- ls -la - ./buildScripts/installPdf2htmlEX || travis_terminate 1;
- cd - ./buildScripts/createAppImage || travis_terminate 1;
- pwd - ./buildScripts/createDockerImage || travis_terminate 1;
- ls -la - docker push $DOCKER_USERNAME/pdf2htmlex
- cd build
- pwd
- ls -la
- cd $TRAVIS_BUILD_DIR
- pwd
- ls -la
- cat upload.sh
# - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
# - ./buildScripts/getBuildTools || travis_terminate 1;
# - ./buildScripts/getDevLibraries || travis_terminate 1;
# - ./buildScripts/getPoppler || travis_terminate 1;
# - ./buildScripts/buildPoppler || travis_terminate 1;
# - ./buildScripts/installPoppler || travis_terminate 1;
# - ./buildScripts/getFontforge || travis_terminate 1;
# - ./buildScripts/buildFontforge || travis_terminate 1;
# - ./buildScripts/installFontforge || travis_terminate 1;
# - ./buildScripts/buildPdf2htmlEX || travis_terminate 1;
# - ./buildScripts/installPdf2htmlEX || travis_terminate 1;
# - ./buildScripts/createAppImage || travis_terminate 1;
# - ./buildScripts/createDockerImage || travis_terminate 1;
# - docker push $DOCKER_USERNAME/pdf2htmlex
#deploy: #deploy:
# provider: releases # provider: releases

View File

@ -34,3 +34,9 @@ chmod a+x $LINUX_DEPLOY_APP_IMAGE
-i ../pdf2htmlEX/logo/pdf2htmlEX.svg \ -i ../pdf2htmlEX/logo/pdf2htmlEX.svg \
--appdir=appDir \ --appdir=appDir \
--output appimage --output appimage
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash upload.sh pdf2htmlEX*.AppImage