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

with macos

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