Commit 6067286b authored by rusty1s's avatar rusty1s
Browse files

fix os and windows

parent cb3493fd
......@@ -91,12 +91,10 @@ jobs:
install:
- source script/install.sh
- source script/conda.sh
- conda update --yes conda
- conda create --yes -n test python=3.7.6
- source activate test
- conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch --yes
- pip install flake8
- pip install codecov
- pip install flake8 codecov
- python setup.py install
script:
......
......@@ -11,10 +11,13 @@ if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
chmod +x miniconda.sh
./miniconda.sh -b
PATH=/home/travis/miniconda3/bin:${PATH}
PATH=/Users/travis/miniconda3/bin:${PATH}
fi
if [ "${TRAVIS_OS_NAME}" = "windows" ]; then
choco install miniconda3
PATH=/c/tools/miniconda3/Scripts:$PATH
fi
conda update --yes conda
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