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:
parent
aedf075ebf
commit
72dc72625d
55
.travis.yml
55
.travis.yml
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user