2015-07-11 05:00:13 +00:00
|
|
|
sudo: false
|
2017-05-05 21:57:14 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libudev-dev
|
2016-02-14 00:56:32 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
2018-02-23 07:22:27 +00:00
|
|
|
- python: "3.5.3"
|
2016-02-14 00:56:32 +00:00
|
|
|
env: TOXENV=lint
|
2018-02-23 07:22:27 +00:00
|
|
|
- python: "3.5.3"
|
2017-11-20 01:39:24 +00:00
|
|
|
env: TOXENV=pylint
|
2018-05-12 21:44:53 +00:00
|
|
|
- python: "3.5.3"
|
|
|
|
env: TOXENV=typing
|
2017-11-20 01:39:24 +00:00
|
|
|
- python: "3.5.3"
|
2016-02-14 00:56:32 +00:00
|
|
|
env: TOXENV=py35
|
2017-01-03 20:33:48 +00:00
|
|
|
- python: "3.6"
|
|
|
|
env: TOXENV=py36
|
2018-07-07 14:48:02 +00:00
|
|
|
- python: "3.7"
|
|
|
|
env: TOXENV=py37
|
|
|
|
dist: xenial
|
2018-07-13 09:37:03 +00:00
|
|
|
- python: "3.8-dev"
|
|
|
|
env: TOXENV=py38
|
|
|
|
dist: xenial
|
|
|
|
if: branch = dev AND type = push
|
|
|
|
allow_failures:
|
|
|
|
- python: "3.8-dev"
|
|
|
|
env: TOXENV=py38
|
|
|
|
dist: xenial
|
2017-01-25 17:32:39 +00:00
|
|
|
|
2015-12-18 17:07:34 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
2016-02-19 07:23:05 +00:00
|
|
|
install: pip install -U tox coveralls
|
2016-02-14 00:56:32 +00:00
|
|
|
language: python
|
2017-11-20 01:39:24 +00:00
|
|
|
script: travis_wait 30 tox --develop
|
2018-03-01 03:31:38 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
before_deploy:
|
2018-04-18 19:58:47 +00:00
|
|
|
- docker pull lokalise/lokalise-cli@sha256:2198814ebddfda56ee041a4b427521757dd57f75415ea9693696a64c550cef21
|
2018-03-01 03:31:38 +00:00
|
|
|
deploy:
|
2018-03-01 04:04:20 +00:00
|
|
|
skip_cleanup: true
|
2018-03-01 03:31:38 +00:00
|
|
|
provider: script
|
|
|
|
script: script/travis_deploy
|
|
|
|
on:
|
|
|
|
branch: dev
|
2018-03-01 04:37:40 +00:00
|
|
|
condition: $TOXENV = lint
|
2016-02-19 07:23:05 +00:00
|
|
|
after_success: coveralls
|