forked from gilesknap/gphotos-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (49 loc) · 2.03 KB
/
.travis.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
language: python
group: travis_latest
dist: xenial
services:
- docker
cache: pip
matrix:
include:
- os: osx
language: sh
python: "3.7"
before_install:
- pip3 install mock
script:
- python3 -m pytest --log-format='%(asctime)s.%(msecs)03d %(filename)-25s %(lineno)4d %(levelname)-8s %(message)s' --log-date-format='%Y-%m-%d %H:%M:%S' --log-level debug
- os: windows
language: sh
python: "3.7"
before_install:
- choco install python --version 3.7.4
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
- python -m pip install --upgrade pip wheel
- python -m pip install mock
- os: linux
python: "3.6"
- os: linux
python: "3.7"
after_success:
- codecov --token=dbadb6ba-0032-4812-bcc2-67ef7bafdfed
deploy:
- provider: pypi
user: gilesknap
password:
secure: "rHIvz5+DFNGNK4aHNT8UB2D5JeEDvIM1X5HkXbJ9jVgMTV2ODuUxo3WFkyU1ti6EKW+Ex8j2+kS/qOb0c3FoQfQ7gKm73VrjuYOsgIJ1qiB6zXDmyGOKTBzNuZdhA3jF6WLH9/G1qi63sqhw8Mqbz5SRN7v8m1V0twRmcroOnko49fLi2mQRxyyggFP7ukiM7M7X/aJgHtSCP+mBzbyMWwDvsl6BuiyDSYXCXnmFXXO3Jx07rkBgJ/GqNm0gGgnctlZxs5OrrLBxDXGuneR5MFFKu3RbASk8dKvG+h0RaHg7ZmdgH80wR2Z/tIW46OqUYAN+0wVMIWOQCw7a0kvV1zq1A0EmKNAyXdro2cY5GfLxNpvKT6vkTU58/aZANKrx0nEqwcstfLDWcxznGBtRAvjE0ZvcnDCxYjkTDg9DNFGC3aJFnFJ2vS+VZ2bdXe7ElVQnAGHJ+tpJlE/+U8IXUEdvu4jvcK3ZWJ0StqefOtIapP3ECSHIXo9/i/znUgaw5NejkdilBgg43Hn/3Nc7DM4Z1WxRMm+7R/+woFcv/EMdTIAzXbXhlqnJR8+Xv0W8/AjXH8R9IzAtiFol5B6hjtdiGDsqPbEFvWZTxuzR9ZwmZTxDtvvtyNYCVICIm+fB4F1ZL/D7ImxONmu1CI6gVm2DR/UFnjrhzx3slXoqBuM="
on:
tags: true
- provider: script
script: bash ./build-docker.sh
on:
tags: true
install:
- pip3 install .
- pip3 install codecov
- pip3 install pytest
- pip3 install pytest-cov
script:
- python -m pytest --cov=gphotos --log-format='%(asctime)s.%(msecs)03d %(filename)-25s
%(lineno)4d %(levelname)-8s %(message)s' --log-date-format='%Y-%m-%d %H:%M:%S' --log-level
debug