Commit 06e7dd4d authored by rusty1s's avatar rusty1s
Browse files

with macos

parent 05cfb159
......@@ -14,7 +14,7 @@ jobs:
- name: linux/cpu
os: linux
env:
- IDX = cpu
- IDX=cpu
- TOOLKIT=cpuonly
- name: linux/cu92
os: linux
......@@ -43,13 +43,11 @@ jobs:
- UBUNTU_VERSION=ubuntu1804
- CUBLAS=libcublas-dev
- TOOLKIT="cudatoolkit=${CUDA_SHORT}"
# - name: macosx/cpu
# os: osx
# osx_image: xcode11.3
# language: shell
# env:
# - IDX=cpu
# - TORCH=${TORCH_VERSION}
- name: macosx/cpu
os: osx
env:
- IDX=cpu
- TOOLKIT=""
# - name: windows/cpu
# os: windows
# language: shell
......@@ -96,7 +94,7 @@ jobs:
# - choco install python --version 3.7.6
install:
# - source script/install.sh
- source script/install.sh
- source script/conda.sh
- conda create --yes -n test python=3.7.6
- source activate test
......@@ -104,10 +102,6 @@ install:
- pip install flake8
- pip install codecov
- python setup.py install
# - pip3 install --upgrade pip
# - pip3 install wheel
# - pip3 install numpy
# - pip3 install torch==${TORCH} -f https://download.pytorch.org/whl/torch_stable.html
script:
- flake8 .
......@@ -117,6 +111,7 @@ after_success:
- codecov
deploy:
provider: s3
region: eu-central-1
edge: true
access_key_id: AKIAJB7S6NJ5OM5MAAGA
secret_access_key: ${S3_SECRET_ACCESS_KEY}
......
......@@ -8,4 +8,12 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
conda update --yes conda
fi
if [ "${TRAVIS_OS_NAME}" = "macosx" ]; 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}
conda update --yes conda
fi
......@@ -21,7 +21,7 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${IDX}" != "cpu" ]; then
nvcc --version
fi
if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
wget "https://developer.nvidia.com/compute/cuda/${CUDA_SHORT}/Prod2/local_installers2/cuda_${CUDA}_win10"
# ./cuda_${CUDA}_win10
fi
# if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
# wget "https://developer.nvidia.com/compute/cuda/${CUDA_SHORT}/Prod2/local_installers2/cuda_${CUDA}_win10"
# # ./cuda_${CUDA}_win10
# fi
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