forked from python-pendulum/pendulum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
33 lines (24 loc) · 754 Bytes
/
Copy pathappveyor.yml
File metadata and controls
33 lines (24 loc) · 754 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
build: false
environment:
matrix:
- PYTHON: "C:/Python27"
- PYTHON: "C:/Python27-x64"
- PYTHON: "C:/Python36"
- PYTHON: "C:/Python36-x64"
cache:
- '%LocalAppData%\pip\Cache'
- '%LocalAppData%\pypoetry\Cache'
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Upgrade to the latest version of pip to avoid it displaying warnings
# about it being out of date.
- "python -m pip install --disable-pip-version-check --user --upgrade pip"
# Downloading and installing poetry
- python -m pip install poetry -U
# Install dependencies
- python -m pip install codecov
- poetry install -v
test_script:
- "poetry run pytest --cov=pendulum --cov-config=.coveragerc tests/ -W ignore"
after_test:
- "codecov"