Skip to content

Commit

Permalink
Development (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolte authored Sep 27, 2017
1 parent b48124d commit f84c229
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
branch: development
- provider: script
script: $TRAVISCI_SCRIPT_DIR/dockerhub_deploy.sh $DOCKER_USERNAME $DOCKER_PASSWORD nolte/rpi-snapcast-client rpi-snapcast-client latest
- provider: script
script: $TRAVISCI_SCRIPT_DIR/dockerhub_deploy.sh $DOCKER_USERNAME $DOCKER_PASSWORD nolte/rpi-snapcast-client rpi-snapcast-client $TRAVIS_TAG
on:
tags: true
all_branches: false

- script:
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
- docker build -t nolte/rpi-snapcast-server -f DockerfileServerRPI --build-arg SNAPCASTVERSION=${SNAPCASTVERSION} .
Expand All @@ -44,13 +50,12 @@ jobs:
branch: development
- provider: script
script: $TRAVISCI_SCRIPT_DIR/dockerhub_deploy.sh $DOCKER_USERNAME $DOCKER_PASSWORD nolte/rpi-snapcast-server rpi-snapcast-server latest
# Tag deploy all with v started tags to dockerhub
# Tag deploy all with v started tags to dockerhub (like v0.9-0.11.1)
- provider: script
script: $TRAVISCI_SCRIPT_DIR/dockerhub_deploy.sh $DOCKER_USERNAME $DOCKER_PASSWORD nolte/rpi-snapcast-server rpi-snapcast-server $TRAVIS_TAG
on:
tags: true
all_branches: true
condition: "$TRAVIS_TAG =~ ^v*$"
all_branches: false


notifications:
Expand Down

0 comments on commit f84c229

Please sign in to comment.