use dev-scripts on CI
This commit is contained in:
parent
7e55a21287
commit
168647f7e4
|
@ -13,8 +13,8 @@ environment:
|
|||
SNAPSHOT_PASS:
|
||||
secure: LPjrtFrWxYhOVGXzfPRV1GjtZE/wHoKq9m/PI6hSalfysUK5p2DxTG9uHlb4Q9qV
|
||||
install:
|
||||
- "pip install --user -U pip setuptools"
|
||||
- "pip install --user -r requirements.txt"
|
||||
- "pip install --user -U virtualenv"
|
||||
- "dev.bat"
|
||||
- "python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
|
||||
test_script:
|
||||
- "py.test"
|
||||
|
|
|
@ -37,11 +37,13 @@ install:
|
|||
brew outdated openssl || brew upgrade openssl
|
||||
brew install python
|
||||
fi
|
||||
- "pip install -U pip setuptools"
|
||||
- "pip install -r requirements.txt"
|
||||
- pip install -U virtualenv
|
||||
- ./dev.sh
|
||||
- source ./venv/bin/activate
|
||||
|
||||
before_script:
|
||||
- "openssl version -a"
|
||||
- "python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
|
||||
|
||||
script:
|
||||
- "py.test ./test/$SCOPE"
|
||||
|
|
Loading…
Reference in New Issue