1
0
mirror of https://github.com/phusion/baseimage-docker.git synced 2026-03-26 04:18:46 +00:00

test_release, test_master

This commit is contained in:
Zsolt Ero
2017-08-16 23:41:17 +02:00
parent 1bd5b85eb1
commit a52c8d4ae0
2 changed files with 21 additions and 1 deletions

View File

@@ -5,3 +5,15 @@ services:
script: script:
- make build - make build
deploy:
- provider: script
script: make test_release
on:
branch: master
tags: true
condition: "$TRAVIS_TAG =~ ^[0-9]+(\.[0-9]+)*$"
- provider: script
script: make test_master
on:
branch: master

View File

@@ -26,3 +26,11 @@ ssh:
IP=$$(docker inspect $$ID | grep IPAddr | sed 's/.*: "//; s/".*//') && \ IP=$$(docker inspect $$ID | grep IPAddr | sed 's/.*: "//; s/".*//') && \
echo "SSHing into $$IP" && \ echo "SSHing into $$IP" && \
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i image/services/sshd/keys/insecure_key root@$$IP ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i image/services/sshd/keys/insecure_key root@$$IP
test_release:
echo test_release
env
test_master:
echo test_master
env