mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
cibuild: check if we are running this under travis
We will only build a new docker image under travis.
This commit is contained in:
parent
31667e566b
commit
af685f8f7a
@ -26,6 +26,7 @@ docker_username = os.environ.get("DOCKER_USERNAME")
|
||||
docker_password = os.environ.get("DOCKER_PASSWORD")
|
||||
aws_creds = os.environ.get("AWS_ACCESS_KEY_ID")
|
||||
|
||||
travis = os.environ.get("TRAVIS", "")
|
||||
travis_tag = os.environ.get("TRAVIS_TAG", "")
|
||||
travis_branch = os.environ.get("TRAVIS_BRANCH", "")
|
||||
appveyor_tag = os.environ.get("APPVEYOR_REPO_TAG_NAME", "")
|
||||
@ -113,7 +114,8 @@ if branch() != "master":
|
||||
|
||||
|
||||
build_package()
|
||||
build_docker()
|
||||
if travis:
|
||||
build_docker()
|
||||
aws_upload()
|
||||
|
||||
if tag():
|
||||
|
Loading…
Reference in New Issue
Block a user