Skip to content

Commit

Permalink
correcting tab & spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
RaymondMouthaan committed May 4, 2018
1 parent 2ecc42d commit a85e929
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,42 @@
sudo: 'required'

services:
- 'docker'
- 'docker'

language:
- 'bash'
- 'bash'

env:
global:
- NODE_RED_VERSION=0.18.4
- IMAGE=raymondmm/node-red
- QEMU_VERSION=v2.11.1
- NODE_RED_VERSION=0.18.4
- IMAGE=raymondmm/node-red
- QEMU_VERSION=v2.11.1

before_install:
- ./.docker/docker.sh prepare
- ./update.sh $NODE_RED_VERSION
- ./.docker/docker.sh prepare
- ./update.sh $NODE_RED_VERSION

script:
- ./.docker/docker.sh build
- ./.docker/docker.sh build

after_success:
- >
if [[ "$TRAVIS_BRANCH" == "master" ]]; then
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin;

# Tag all images
./.docker/docker.sh tag
# Push all images
./.docker/docker.sh push
# Create and push manifest list
./.docker/docker.sh manifest-list

docker logout
fi
- >
if [[ "$TRAVIS_BRANCH" == "master" ]]; then
# Docker Hub Login
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin

# Tag all images
./.docker/docker.sh tag

# Push all images
./.docker/docker.sh push

# Create and push manifest list
./.docker/docker.sh manifest-list

# Docker Hub Logout
docker logout
fi

# don't notify me when things fail
notifications:
Expand Down

0 comments on commit a85e929

Please sign in to comment.