fix wstest on travis (#242)
This commit is contained in:
parent
ee4fec48e7
commit
a594b0bd13
|
|
@ -13,7 +13,7 @@ python:
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
osx_image: xcode8.2
|
osx_image: xcode9.3
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,12 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
|
|
||||||
# Install python
|
|
||||||
brew update > /dev/null
|
|
||||||
brew install python
|
|
||||||
fi
|
|
||||||
|
|
||||||
type -p python
|
type -p python
|
||||||
python --version
|
python --version
|
||||||
|
|
||||||
# Install local virtualenv
|
# Install local virtualenv
|
||||||
mkdir .python
|
mkdir .python
|
||||||
cd .python
|
cd .python
|
||||||
curl -O https://pypi.python.org/packages/d4/0c/9840c08189e030873387a73b90ada981885010dd9aea134d6de30cd24cb8/virtualenv-15.1.0.tar.gz
|
curl -OL https://pypi.python.org/packages/d4/0c/9840c08189e030873387a73b90ada981885010dd9aea134d6de30cd24cb8/virtualenv-15.1.0.tar.gz
|
||||||
tar xf virtualenv-15.1.0.tar.gz
|
tar xf virtualenv-15.1.0.tar.gz
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue