-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (34 loc) · 783 Bytes
/
Copy path.travis.yml
File metadata and controls
34 lines (34 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: python
jobs:
include:
- name: "docker"
if: branch IN (master, dev)
services: docker
python: 3.6
before_install:
- docker --version
install:
- pip install -U pip
- pip install tox-travis
script: tox -e docker
after_success:
-
- name: "Python 3.5"
python: 3.5
env: TOX_PYTHON_ENV=py35
- name: "Python 3.6"
python: 3.6
env: TOX_PYTHON_ENV=py36
- name: "Python 3.7"
python: 3.7
env: TOX_PYTHON_ENV=py37
before_install:
- ls -la
install:
- pip install -U pip
- pip install tox-travis
- pip install codecov
script:
- tox -e $TOX_PYTHON_ENV -e lint
after_success:
- codecov # submit coverage to https://codecov.io/gh/sertansenturk/tomato/