1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

start multiple releases via travis

This commit is contained in:
Stephen Gaito 2020-06-06 09:00:07 +01:00
parent 6b11b0133e
commit d456ae4412
3 changed files with 12 additions and 4 deletions

View File

@ -17,14 +17,20 @@ branches:
jobs: jobs:
fast_finish: true fast_finish: true
include: include:
- stage: build-linux - os: linux
os: linux
dist: bionic dist: bionic
env: DOCKER_FROM="ubuntu:18.04" env: DOCKER_FROM="ubuntu:18.04"
services: services:
- docker - docker
script: script:
- ./buildScripts/travisLinuxDoItAll - ./buildScripts/travisLinuxDoItAll
- os: linux
dist: xenial
env: DOCKER_FROM="ubuntu:16.04"
services:
- docker
script:
- ./buildScripts/travisLinuxDoItAll
#deploy: #deploy:
# provider: releases # provider: releases

View File

@ -3,6 +3,7 @@
# This bash script reports the more important TRAVIS environment variables # This bash script reports the more important TRAVIS environment variables
echo "TravisCI env:" echo "TravisCI env:"
echo " dist: [$TRAVIS_DIST]"
echo " tag: [$TRAVIS_TAG]" echo " tag: [$TRAVIS_TAG]"
echo " branch: [$TRAVIS_BRANCH]" echo " branch: [$TRAVIS_BRANCH]"
echo " commit: [$TRAVIS_COMMIT]" echo " commit: [$TRAVIS_COMMIT]"
@ -26,4 +27,5 @@ echo " build time: [$BUILD_TIME]"
echo " docker from: [$DOCKER_FROM]" echo " docker from: [$DOCKER_FROM]"
echo " docker name: [$DOCKER_NAME]" echo " docker name: [$DOCKER_NAME]"
echo " appImage name: [$APPIMAGE_NAME]" echo " appImage name: [$APPIMAGE_NAME]"
echo " dpkg name: [$DPKG_NAME]"
echo "uploadTool suffix: [$UPLOADTOOL_SUFFIX]" echo "uploadTool suffix: [$UPLOADTOOL_SUFFIX]"

View File

@ -71,9 +71,9 @@ echo $APPIMAGE_NAME > appImageName.txt
echo $DOCKER_NAME > dockerImageName.txt echo $DOCKER_NAME > dockerImageName.txt
echo $DPKG_NAME > debianArchiveName.txt echo $DPKG_NAME > debianArchiveName.txt
deleteReleaseByTag "$TRAVIS_REPO_SLUG" "continuous" deleteReleaseByTag "$TRAVIS_REPO_SLUG" "continuous-$TRAVIS_DIST"
createNewRelease "$TRAVIS_REPO_SLUG" "continuous" "Latest release" \ createNewRelease "$TRAVIS_REPO_SLUG" "continuous-$TRAVIS_DIST" "Latest release" \
../buildScripts/uploadGitHubReleaseMessage ../buildScripts/uploadGitHubReleaseMessage
uploadAnAsset $upload_url "appImageName.txt" "text/plain" uploadAnAsset $upload_url "appImageName.txt" "text/plain"