mirror of
https://github.com/home-assistant/core
synced 2024-09-09 12:51:22 +02:00
43 lines
889 B
YAML
43 lines
889 B
YAML
sudo: false
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libudev-dev
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- python: "3.5.3"
|
|
env: TOXENV=lint
|
|
- python: "3.5.3"
|
|
env: TOXENV=pylint
|
|
# - python: "3.5"
|
|
# env: TOXENV=typing
|
|
- python: "3.5.3"
|
|
env: TOXENV=py35
|
|
- python: "3.6"
|
|
env: TOXENV=py36
|
|
# - python: "3.6-dev"
|
|
# env: TOXENV=py36
|
|
# allow_failures:
|
|
# - python: "3.5"
|
|
# env: TOXENV=typing
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
install: pip install -U tox coveralls
|
|
language: python
|
|
script: travis_wait 30 tox --develop
|
|
services:
|
|
- docker
|
|
before_deploy:
|
|
- docker pull lokalise/lokalise-cli@sha256:79b3108211ed1fcc9f7b09a011bfc53c240fc2f3b7fa7f0c8390f593271b4cd7
|
|
deploy:
|
|
skip_cleanup: true
|
|
provider: script
|
|
script: script/travis_deploy
|
|
on:
|
|
branch: dev
|
|
condition: $TOXENV = lint
|
|
after_success: coveralls
|