]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Added Travis Files
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Wed, 30 Sep 2020 13:32:46 +0000 (15:32 +0200)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Wed, 30 Sep 2020 13:32:46 +0000 (15:32 +0200)
.secrets_travis.yaml [new file with mode: 0644]
.travis.yml [new file with mode: 0644]
README.md
credentials/.google_travis.json [new file with mode: 0644]

diff --git a/.secrets_travis.yaml b/.secrets_travis.yaml
new file mode 100644 (file)
index 0000000..9ee0607
--- /dev/null
@@ -0,0 +1,36 @@
+home_latitude: 0
+home_longitude: 0
+home_elevation: 0
+morgex_latitude: 0
+morgex_longitude: 0
+
+base_url: http://localhost
+
+mail_server: localhost
+mail_sender: email@domain.com
+mail_recipient: email@domain.com
+
+shelly_user: user
+shelly_password: password
+
+google_project: project
+google_agent: 00
+google_pin: "0000"
+
+google_maps_username: email@domain.com
+google_maps_password: password
+
+vapid_pub_key: 00
+vapid_prv_key: 00
+vapid_email: email@domain.com
+
+nas_host: host
+nas_mac: 00:00:00:00:00:00
+nas_username: user
+
+docker_host: host
+docker_username: user
+
+darksky_key: 0
+
+hacs_token: 0
diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..01aec92
--- /dev/null
@@ -0,0 +1,15 @@
+language: python
+
+python: "3.7"
+
+before_install:
+
+install:
+  - pip3 install homeassistant
+  - pip3 install colorlog
+  - pip3 install python-dateutil
+  - cp .secrets_travis.yaml secrets.yaml
+  - cp credentials/.google_travis.json credentials/google.json
+  
+script:
+  - hass -c . --script check_config --info all
index 852ada0de1543b780a158155ab66821b8c9366bd..a3a5a29affa610f5def66d21942cd2585356f0e1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Home Assistant Configuration
+# Home Assistant Configuration [![Build Status](https://travis-ci.com/xraver/homeassistant.svg?token=PXJbvzDqQ7KXsH82AB4z&branch=master)](https://travis-ci.org/xraver/homeassistant)
 This repository contains the Home Assistant Configuration for my house: Casa Ravera-Testa
 
 ## To Do List
diff --git a/credentials/.google_travis.json b/credentials/.google_travis.json
new file mode 100644 (file)
index 0000000..1798eed
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "type": "service_account",
+  "project_id": "project_id",
+  "private_key_id": "private_key_id",
+  "private_key": private_key",
+  "client_email": "client_email",
+  "client_id": "client_id",
+  "auth_uri": "auth_uri",
+  "token_uri": "token_uri",
+  "auth_provider_x509_cert_url": "auth_provider_x509_cert_url",
+  "client_x509_cert_url": "client_x509_cert_url"
+}