Skip to content

Commit 4e5583c

Browse files
committed
Update CI scripts.
1 parent 248ef62 commit 4e5583c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var/
2525
*.egg-info/
2626
.installed.cfg
2727
*.egg
28+
*.whl
2829
.python-version
2930

3031
# PyInstaller

appveyor.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
version: '{branch}-{build}'
2-
2+
cache:
3+
- '%LOCALAPPDATA%\pip\Cache'
34
environment:
45
password:
56
secure: pp1j5lAB9NN8ZDasgY+oxoGrNw0+4gGzbNZmHVwJkCzUyrNBP5ZIuCrwjmx4q6ifg7RMiE3bVt9MljFCJh3XpsvVOAcx+AGKsHSjtXd40HM=
@@ -41,8 +42,8 @@ init:
4142
install:
4243
- "SET PATH=%PYTHON%;%PYTHON%\\scripts;%PATH%"
4344
- echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat"
44-
- "pip install --disable-pip-version-check --user --upgrade pip wheel"
45-
- "pip install --user -r dev-requirements.txt"
45+
- "pip install --upgrade pip wheel"
46+
- "pip install -r dev-requirements.txt"
4647

4748
build_script:
4849
- "cython bencoder.pyx"

ci/build-wheels.sh

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ cd /io
77
for PYBIN in /opt/python/*/bin/; do
88
${PYBIN}/pip install -r /io/dev-requirements.txt
99
${PYBIN}/python setup.py test
10+
rm *.so
1011
done
1112

1213
rm bencoder.c

0 commit comments

Comments
 (0)