From ffb793177a1ce471161f0f709e32a1f5dc257cff Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Fri, 28 Sep 2018 19:34:28 +0200 Subject: [PATCH] Enable Travis Tests (#133) --- .travis.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13b4d3cdd6..f928b372a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,19 @@ sudo: false language: python python: - "2.7" -install: - - pip install -r requirements.txt - - pip install flake8==3.5.0 pylint==1.9.3 tzlocal pillow -script: - - flake8 esphomeyaml - - pylint esphomeyaml +jobs: + include: + - name: "Lint" + install: + - pip install -r requirements.txt + - pip install flake8==3.5.0 pylint==1.9.3 tzlocal pillow + script: + - flake8 esphomeyaml + - pylint esphomeyaml + - name: "Test" + install: + - pip install -e . + - pip install tzlocal pillow + script: + - esphomeyaml tests/test1.yaml compile + - esphomeyaml tests/test2.yaml compile