mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Install mock on travis
This commit is contained in:
parent
3c4d239185
commit
932430cd23
@ -25,5 +25,8 @@ before_install:
|
|||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo mkdir -p $SWBASE && sudo chown $USER $SWBASE; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo mkdir -p $SWBASE && sudo chown $USER $SWBASE; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl https://download.calibre-ebook.com/travis/sw-osx.tar.bz2 | tar xj -C $SWBASE; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl https://download.calibre-ebook.com/travis/sw-osx.tar.bz2 | tar xj -C $SWBASE; fi
|
||||||
- npm install --no-optional rapydscript-ng && echo $PATH && which rapydscript && rapydscript --version
|
- npm install --no-optional rapydscript-ng && echo $PATH && which rapydscript && rapydscript --version
|
||||||
|
- python $SW/bin/easy_install --user "pip==9.0.1"
|
||||||
|
- pip install --user -r requirements.txt
|
||||||
- python setup.py bootstrap --ephemeral
|
- python setup.py bootstrap --ephemeral
|
||||||
|
|
||||||
script: python setup.py test
|
script: python setup.py test
|
||||||
|
@ -4,7 +4,7 @@ os: Visual Studio 2015
|
|||||||
clone_folder: C:\calibre
|
clone_folder: C:\calibre
|
||||||
clone_depth: 5
|
clone_depth: 5
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- vs2015
|
- vs2015
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
@ -19,7 +19,9 @@ platform:
|
|||||||
- x64
|
- x64
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- C:\Python35-x64\python.exe setup/win-ci.py sw
|
- C:\Python35-x64\python.exe setup/win-ci.py sw
|
||||||
|
- C:\sw\private\python\easy_install.exe --user "pip==9.0.1"
|
||||||
|
- C:\sw\private\python\pip install --user -r requirements.txt
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- C:\sw\private\python\python.exe setup/win-ci.py build
|
- C:\sw\private\python\python.exe setup/win-ci.py build
|
||||||
|
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Note, this file is work-in-progress, and is partial only.
|
||||||
|
mock==2.0.0
|
Loading…
x
Reference in New Issue
Block a user