This repository has been archived by the owner on Oct 31, 2020. It is now read-only.
forked from ericleb010/hassio-addons
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
30 lines (27 loc) · 1.99 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
os: linux
language: shell
env:
global:
- VERSION_BUILDER="2.0"
- ADDON="hassio"
- secure: OOass9uxu4ldvvo1VYKKq7/J8Inb62lILqOjL9JKjdPbiMTx6c3qMOw22dD6rOrUdRAUFXtxJNXW7D5Slcper1qyJmE6wxPPch9U8s4OUbaaVSNlfEvwVxyoY1PbNcnngda3xYrNjDWrAsxlNRxkVjjDubNputc6vq3d/tFQ6Z6Q4fmxWGjMRqNDTrikyagk7uvKDPyTR5cx1a2kJ9rk0ErtZ+Hd3j0YUX3bJTD2/+o1xjTkTeQAIPDO8aKL/34znLdpxpJj12kxUOxEjVq+sXvqWOVYncIroyhpaS9q598OphTQ2jVsGYnxmFOIjD+SnscWd5sxKHNb5jih+oiEr5yiQTim1n/PPxKlha06LTZVPaO+KrV6KDp1fJMNkj8UX3OfSUyXtiDOD8mkltT5P2Y+OricKeFLlA6nWvT/1Y9z3HOLn68DwyoA7XaIjG0sVV3MZhX3sU0jU0WLKJ05S8Dg+puWZbxkqrw9nRVm2BEeQVGGcZx34K7Xm//qfQEZ36hvaihjjn0oUwzp3qYTnBR5Y08gV39Sq8/qhzq8gLdQwPnlnNn5oWTeZjbVKKKkUocQoEDOLemdULWbOGvTU/63goedXYVccruiLZwuwaZryE3ndcuSxCzLwKESa5rJRSO9PBYtW/C3uLSqBEgYunaWwpotWeLNfdRvkdBhbB8=
- secure: nZl6DiaI8jAMGo/gQZ2xm6P8GAGN2RlDIcjH5Rmwpwwya0VX/XD690rsjTwSUu1kTymxB1RV9hwJsXosluSrhTWN2n8USzgF6V8Yvo4VDEv/66FS440l5A5uUttdg/7G3NndkB8FRSaRpzh/45LaNoSp8UZ9/KQUmhNJ2v1vhNNGBEquqyK8vMJhfAOIIFPjyFKeRWKEGU6z3n0EYwSsEakEXtnPN/1r2CvzRTpZ8AvT/uU6ffIWZ2FRoTZQC+nTBXZADGaUb6j9hBGQNxnqwtCvB1OymclGWuz9yNHtMAqYj+CbncY4UZSmuj+bkcG59w26PbvZzZ7WOc/fYm7PV6sErLShIzINJCmv+lHG3oLxZZlGWdeu999QST8f9RBMzlelEhS256WG7K04mP29+V/vjSNyFECrAqOSeVsIYQWUqlR3LkmoGAYm7ziMYib2dKRfK8DET9KSWBTWB6aP0aZjhwihivGdTTS+SMl8FnAHwNB27WSowcZqmCWUEHFzdN1qA3tAITkyb96EL2B/F9moPRnioNk9TBCQ2KIqPo4EtvCkv6wBPZB2NN/H/RPjiZXgQqY3iMwMHidj9pSjFso6ch1u2ntOcKtSgKjLDFPAQE2XlsPYZY+RGdOQFREF/yYPbVdFIwfrZvlWXU164ic/e6E7t32+19cOYJZFGis=
jobs:
- ARCH="--armhf"
- ARCH="--armv7"
- ARCH="--aarch64"
- ARCH="--amd64"
- ARCH="--i386"
services:
- docker
before_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PWD
- docker pull homeassistant/amd64-builder:$VERSION_BUILDER
script: |
docker run --rm --privileged \
-v ~/.docker:/root/.docker \
-v /run/docker.sock:/run/docker.sock:rw \
-v $(pwd):/data:ro \
homeassistant/amd64-builder:$VERSION_BUILDER \
--addon $ARCH -t /data/$ADDON \
--docker-hub $DOCKER_USERNAME --docker-hub-check