Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
06e7dd4d
Commit
06e7dd4d
authored
Feb 12, 2020
by
rusty1s
Browse files
with macos
parent
05cfb159
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
17 deletions
+20
-17
.travis.yml
.travis.yml
+8
-13
script/conda.sh
script/conda.sh
+8
-0
script/install.sh
script/install.sh
+4
-4
No files found.
.travis.yml
View file @
06e7dd4d
...
...
@@ -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}
...
...
script/conda.sh
View file @
06e7dd4d
...
...
@@ -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
script/install.sh
View file @
06e7dd4d
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment