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-sparse
Commits
aca135e4
"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "24895a1f494062d73028e31880c8848c6a674750"
Commit
aca135e4
authored
Apr 24, 2020
by
rusty1s
Browse files
better install script
parent
4301314d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
.travis.yml
.travis.yml
+1
-1
script/install.sh
script/install.sh
+9
-0
No files found.
.travis.yml
View file @
aca135e4
...
@@ -61,7 +61,7 @@ install:
...
@@ -61,7 +61,7 @@ install:
-
source script/torch.sh
-
source script/torch.sh
-
pip install torch-scatter==latest+${IDX} -f https://s3.eu-central-1.amazonaws.com/pytorch-geometric.com/whl/torch-1.5.0.html
-
pip install torch-scatter==latest+${IDX} -f https://s3.eu-central-1.amazonaws.com/pytorch-geometric.com/whl/torch-1.5.0.html
-
pip install flake8 codecov
-
pip install flake8 codecov
-
if [ "${TRAVIS_OS_NAME}" != "windows" ]; then python setup.py install; else travis_wait 30 python setup.py
install
; fi
-
source script/
install
.sh
script
:
script
:
-
flake8 .
-
flake8 .
-
python setup.py test
-
python setup.py test
...
...
script/install.sh
0 → 100755
View file @
aca135e4
#!/bin/bash
if
[
"
${
TRAVIS_OS_NAME
}
"
!=
"windows"
]
;
then
python setup.py
install
else
echo
"python setup.py install"
while
sleep
9m
;
do
echo
"=====[
$SECONDS
seconds still running ]====="
;
done
&
python setup.py
install
&> /dev/null
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