mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 20:50:07 +00:00
start multiple releases via travis
This commit is contained in:
parent
6b11b0133e
commit
d456ae4412
10
.travis.yml
10
.travis.yml
@ -17,14 +17,20 @@ branches:
|
||||
jobs:
|
||||
fast_finish: true
|
||||
include:
|
||||
- stage: build-linux
|
||||
os: linux
|
||||
- os: linux
|
||||
dist: bionic
|
||||
env: DOCKER_FROM="ubuntu:18.04"
|
||||
services:
|
||||
- docker
|
||||
script:
|
||||
- ./buildScripts/travisLinuxDoItAll
|
||||
- os: linux
|
||||
dist: xenial
|
||||
env: DOCKER_FROM="ubuntu:16.04"
|
||||
services:
|
||||
- docker
|
||||
script:
|
||||
- ./buildScripts/travisLinuxDoItAll
|
||||
|
||||
#deploy:
|
||||
# provider: releases
|
||||
|
@ -3,6 +3,7 @@
|
||||
# This bash script reports the more important TRAVIS environment variables
|
||||
|
||||
echo "TravisCI env:"
|
||||
echo " dist: [$TRAVIS_DIST]"
|
||||
echo " tag: [$TRAVIS_TAG]"
|
||||
echo " branch: [$TRAVIS_BRANCH]"
|
||||
echo " commit: [$TRAVIS_COMMIT]"
|
||||
@ -26,4 +27,5 @@ echo " build time: [$BUILD_TIME]"
|
||||
echo " docker from: [$DOCKER_FROM]"
|
||||
echo " docker name: [$DOCKER_NAME]"
|
||||
echo " appImage name: [$APPIMAGE_NAME]"
|
||||
echo " dpkg name: [$DPKG_NAME]"
|
||||
echo "uploadTool suffix: [$UPLOADTOOL_SUFFIX]"
|
||||
|
@ -71,9 +71,9 @@ echo $APPIMAGE_NAME > appImageName.txt
|
||||
echo $DOCKER_NAME > dockerImageName.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
|
||||
|
||||
uploadAnAsset $upload_url "appImageName.txt" "text/plain"
|
||||
|
Loading…
Reference in New Issue
Block a user