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
6067286b
Commit
6067286b
authored
Feb 12, 2020
by
rusty1s
Browse files
fix os and windows
parent
cb3493fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
.travis.yml
.travis.yml
+1
-3
script/conda.sh
script/conda.sh
+4
-1
No files found.
.travis.yml
View file @
6067286b
...
...
@@ -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
:
...
...
script/conda.sh
View file @
6067286b
...
...
@@ -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
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