From a046ae5113178125691570833ad9915eae0906a9 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Tue, 21 Feb 2017 19:59:08 +0000 Subject: [PATCH] Closes #73 - Added Travis CI testing --- .HA_VERSION | 2 +- .travis.yml | 9 +++++++++ travis_secrets.yaml | 24 ++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100755 .travis.yml create mode 100755 travis_secrets.yaml diff --git a/.HA_VERSION b/.HA_VERSION index 6c772873..f407fd06 100755 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -0.38.3 \ No newline at end of file +0.38.4 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100755 index 00000000..4729981f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: python +python: + - "3.4" +install: + - pip3 install homeassistant +script: + - hass -c . --script check_config +before_install: + - mv travis_secrets.yaml secrets.yaml diff --git a/travis_secrets.yaml b/travis_secrets.yaml new file mode 100755 index 00000000..d72035c9 --- /dev/null +++ b/travis_secrets.yaml @@ -0,0 +1,24 @@ +homeassistant_latitude: 000.0000000 +homeassistant_longitude: 000.0000000 +homeassistant_elevation: 00 +http_api_password: password +external_ip: 10.10.10.10 +MQTT_username: MQTT +MQTT_password: password +ssl_certificate: '/home/hass/.homeassistant/www/website_dot_com.crt' +ssl_key: '/home/hass/.homeassistant/www/website.key' +http_base_url: your.website.com +ifttt_key: iftttKEYPassphrase +forecast_key: ForcastKeyphrase +nest_client_id: secret_nest_client_id +nest_client_secret: secretnestclientid +garadget_large_id: 00000000000000000000000 +garadget_small_id: 00000000000000000000001 +garadget_username: user@email.com +garadget_password: password +google_cal_clientid: clientidsecretsecretsecret.apps.googleusercontent.com +google_cal_clientsecret: more-secretstuff +sleepiq_username: user@email.com +sleepiq_password: password +aws_access_key_ID: 'AWSACCESSKEYID' +aws_secret_access_key: 'AWSACCESSKEYIDandSECRET'