forked from iamluc/docker-hostmanager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (26 loc) · 1.32 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: php
sudo: false
php:
- 7.2
services:
- docker
cache:
directories:
- vendor
- "$HOME/.composer/cache"
install: composer install --prefer-source
script: vendor/bin/phpunit --configuration phpunit.xml.dist
before_deploy:
- curl -LSs http://box-project.github.io/box2/installer.php | php
- php box.phar build
deploy:
provider: releases
api_key:
secure: R18a+x1dIMitk7Aq5WgqDS6izrgcgAcpuqo7AqJk8RuoBqrRLT36GlKrnDSKDSI71U18CQJXmfDBeI4q3R0BD+zJJ/W9uv9g25YFlbFhdAyBlwdC7GRod+XreUOQGRDBj8PpywmxCKZrKlhftu1Yw+9p3ezDcHyQMnaUODmh11Mn2UpX1AxJePSKcsh01hbyXzKmjiyV4TBXhhEAW3diONuGVTgou5OES2925REmoD5tEMKEhS8gQ9Z2fQGNlCjYh6rkX/N2oY6zgs9zrNCEmfvaAHfsPkmnlvwsQPmRXW5PH/bBGIRFpotsIFOkeZurwpy5OkwoiV2Revxbm4sivcV9ogxRHt+MhsbQZOGmsGKvc4JtGU9gy8LGxnJXyfcKhw/gGVRXeBikZeGbnG1C8qisFBIouK7wtRb6F/qsuXMb5l4nbKaUTFM3dg8yaEygbp9vEsCShaH149gFGaAChJvSOsdDUr4/bCCDaEDhAdV+bcIjMexDd79UHOrddE0B6EWGctXzWRzn495oz1we/7B7CmFZ0wzfMjDeysukFQj7GZTFPwWIHiXMKpCiDQc9w+rWjqh3DFwNmqa8eH+hGQRQ8Dl7TpoE1ucUZQwpSiF0ES1MYlcK66bteAPolQp8Iux1IIMOBsQ2VBmxjajMXTu6ZDvrD3l8il4SE+E6QT8=
file: bin/docker-hostmanager.phar
on:
repo: vojtabiberle/docker-hostmanager
after_deploy:
- docker build -t vojtabiberle/docker-hostmanager .
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker push vojtabiberle/docker-hostmanager