[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:
Bryan W. Weber 2018-04-21 09:35:03 -04:00
parent 5b4a977df7
commit 0b8f0283aa
No known key found for this signature in database
GPG key ID: 3A93E209C87E1FE7

View file

@ -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