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
cb3493fd
Commit
cb3493fd
authored
Feb 12, 2020
by
rusty1s
Browse files
add windows
parent
06e7dd4d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
13 deletions
+10
-13
.travis.yml
.travis.yml
+6
-10
script/conda.sh
script/conda.sh
+4
-3
No files found.
.travis.yml
View file @
cb3493fd
...
...
@@ -48,16 +48,11 @@ jobs:
env
:
-
IDX=cpu
-
TOOLKIT=""
# - name: windows/cpu
# os: windows
# language: shell
# env:
# - IDX=cpu
# - TORCH=${TORCH_VERSION}+${IDX}
# - PATH=/c/Python37:/c/Python37/Scripts:$PATH
# before_install:
# - choco install python --version 3.7.6
# - python -m pip install --upgrade --user pip
-
name
:
windows/cpu
os
:
windows
env
:
-
IDX=cpu
-
TOOLKIT=cpuonly
# - name: windows/cu92
# os: windows
# language: shell
...
...
@@ -96,6 +91,7 @@ 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
...
...
script/conda.sh
View file @
cb3493fd
...
...
@@ -5,15 +5,16 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
chmod
+x miniconda.sh
./miniconda.sh
-b
PATH
=
/home/travis/miniconda3/bin:
${
PATH
}
conda update
--yes
conda
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"
mac
osx"
]
;
then
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
}
conda update
--yes
conda
fi
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
;
then
choco
install
miniconda3
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