[CI] Don't use a cache directory for pip installations
pip2 and pip3 used the same cache directory, resulting in a cache invalidation warning because the Python 2 version of a package is not compatible with Python 3. Using --no-cache-dir is recommended in pypa/pip#5250
This commit is contained in:
parent
5b4a977df7
commit
0b8f0283aa
1 changed files with 4 additions and 4 deletions
|
|
@ -1,14 +1,14 @@
|
|||
version: 1.0.{build}
|
||||
install:
|
||||
- ps: |
|
||||
C:\Python27-x64\python.exe -m pip install --upgrade pip
|
||||
C:\Python27-x64\Scripts\pip.exe install --egg scons
|
||||
C:\Python27-x64\Scripts\pip.exe install numpy
|
||||
C:\Python27-x64\python.exe -m pip install --no-cache-dir --upgrade pip
|
||||
C:\Python27-x64\Scripts\pip.exe install --no-cache-dir numpy
|
||||
C:\Python27-x64\Scripts\pip.exe install cython
|
||||
C:\Python27-x64\Scripts\pip.exe install 3to2
|
||||
C:\Python27-x64\Scripts\pip.exe install pypiwin32
|
||||
C:\Python35-x64\python.exe -m pip install --upgrade pip
|
||||
C:\Python35-x64\Scripts\pip.exe install numpy
|
||||
C:\Python35-x64\python.exe -m pip install --no-cache-dir --upgrade pip
|
||||
C:\Python35-x64\Scripts\pip.exe install --no-cache-dir numpy
|
||||
|
||||
build_script:
|
||||
- cmd: C:\Python27-x64\scons build -j2 boost_inc_dir=C:\Libraries\boost_1_62_0 debug=n VERBOSE=y python3_cmd=C:\Python35-x64\python.exe
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue