Skip to content

Commit 6a0a72f

Browse files
committed
Update appveyor config
1 parent 3145664 commit 6a0a72f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

appveyor.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ environment:
88
- PYTHON: "C:/Python34-x64"
99
- PYTHON: "C:/Python35"
1010
- PYTHON: "C:/Python35-x64"
11+
- PYTHON: "C:/Python36"
12+
- PYTHON: "C:/Python36-x64"
1113

1214
install:
1315
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
@@ -16,12 +18,17 @@ install:
1618
# about it being out of date.
1719
- "pip install --disable-pip-version-check --user --upgrade pip"
1820

21+
# Create poetry virtualenv
22+
- pip install virtualenv
23+
- virtualenv --python="C:/Python36-x64\\Scripts\\python.exe" "venv-poetry"
24+
1925
# Install dependencies
20-
- "%CMD_IN_ENV% pip install -r tests-requirements.txt"
21-
- "%CMD_IN_ENV% pip install codecov"
26+
- pip install codecov
27+
- venv-poetry\\Scripts\\pip.exe install poetry --pre
28+
- venv-poetry\\Scripts\\poetry.exe install -v
2229

2330
test_script:
24-
- "py.test --cov=pendulum --cov-config=.coveragerc tests/"
31+
- "pytest --cov=pendulum --cov-config=.coveragerc tests/"
2532

2633
after_test:
2734
- "codecov"

0 commit comments

Comments
 (0)