-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (40 loc) · 1009 Bytes
/
.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
33
34
35
36
37
38
39
40
41
42
43
---
dist: xenial
language: python
cache: pip
python:
- 3.7.4
env:
- BUILD=stable
# - BUILD=beta
- BUILD=dev
matrix:
allow_failures:
# - python: 3.7.3
# env: BUILD=beta
- python: 3.74
env: BUILD=dev
before_install:
- mv tests/fake_secrets.yaml secrets.yaml
- mkdir -p fake_directory
- touch fake_directory/data.log
- touch fake_directory/cert.log
- echo "10" > fake_directory/cert.log
- touch fake_directory/cert_eu.log
- echo "10" > fake_directory/cert_eu.log
- mv secrets_redacted.yaml secrets.yaml
install:
- if [ $BUILD == "beta" ]; then
pip3 install --pre homeassistant;
elif [ $BUILD == "dev" ]; then
pip3 install git+git://github.com/home-assistant/home-assistant.git@dev;
else
pip3 install homeassistant;
fi
script:
- hass --version
- hass -c . --script check_config
after_script:
- bash ./telegram_notification.sh
notifications:
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify?secret=elradix_hass