Commit f7399e2b authored by rusty1s's avatar rusty1s
Browse files

virtualenv

parent fb337055
...@@ -18,13 +18,18 @@ jobs: ...@@ -18,13 +18,18 @@ jobs:
addons: addons:
homebrew: homebrew:
packages: python3 packages: python3
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
before_install:
- python3 -m pip install --upgrade virtualenv
- virtualenv -p python3 --system-site-packages "$HOME/venv"
- source "$HOME/venv/bin/activate"
env: env:
- MACOSX_DEPLOYMENT_TARGET=10.9 - MACOSX_DEPLOYMENT_TARGET=10.9
- CC=clang - CC=clang
- CXX=clang++ - CXX=clang++
before_install:
- alias pip=pip3
- alias python=python3
install: install:
- pip install numpy - pip install numpy
- pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html - pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment