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
abf5f005
Commit
abf5f005
authored
Jul 29, 2020
by
rusty1s
Browse files
test install
parent
2a094837
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
42 deletions
+43
-42
.travis.yml
.travis.yml
+34
-34
script/install.sh
script/install.sh
+9
-8
No files found.
.travis.yml
View file @
abf5f005
...
...
@@ -11,17 +11,17 @@ env:
jobs
:
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cpu
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu92
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu101
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu102
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cpu
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu92
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu101
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu102
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cpu
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu92
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu101
-
TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu102
#
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu92
#
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu101
#
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu102
#
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cpu
#
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu92
#
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu101
#
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu102
#
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cpu
#
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu92
#
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu101
#
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu102
jobs
:
exclude
:
# Exclude *all* macOS CUDA jobs and Windows CUDA 9.2 jobs.
...
...
@@ -63,26 +63,26 @@ install:
-
pip install flake8 codecov
-
pip install scipy==1.4.1
-
source script/install.sh
script
:
-
flake8 .
-
python setup.py test
after_success
:
-
python setup.py bdist_wheel --dist-dir=dist/torch-${TORCH_VERSION}
-
python script/rename_wheel.py ${IDX}
-
codecov
deploy
:
provider
:
s3
region
:
eu-central-1
edge
:
true
access_key_id
:
${S3_ACCESS_KEY}
secret_access_key
:
${S3_SECRET_ACCESS_KEY}
bucket
:
pytorch-geometric.com
local_dir
:
dist/torch-${TORCH_VERSION}
upload_dir
:
whl/torch-${TORCH_VERSION}
acl
:
public_read
on
:
all_branches
:
true
repo
:
rusty1s/pytorch_sparse
condition
:
$TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy
notifications
:
email
:
false
#
script:
#
- flake8 .
#
- python setup.py test
#
after_success:
#
- python setup.py bdist_wheel --dist-dir=dist/torch-${TORCH_VERSION}
#
- python script/rename_wheel.py ${IDX}
#
- codecov
#
deploy:
#
provider: s3
#
region: eu-central-1
#
edge: true
#
access_key_id: ${S3_ACCESS_KEY}
#
secret_access_key: ${S3_SECRET_ACCESS_KEY}
#
bucket: pytorch-geometric.com
#
local_dir: dist/torch-${TORCH_VERSION}
#
upload_dir: whl/torch-${TORCH_VERSION}
#
acl: public_read
#
on:
#
all_branches: true
#
repo: rusty1s/pytorch_sparse
#
condition: $TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy
#
notifications:
#
email: false
script/install.sh
View file @
abf5f005
#!/bin/bash
if
[
"
${
TRAVIS_OS_NAME
}
"
!=
"windows"
]
;
then
python setup.py
install
else
echo
"pip install .[test]"
while
sleep
540
;
do
echo
"=====[ Still running after
$SECONDS
seconds ]====="
;
done
&
pip
install
.
\[
test
\]
|
tail
-n
1000
kill
%1
fi
# if [ "${TRAVIS_OS_NAME}" != "windows" ]; then
# echo "LOL"
# pip install .\[test\]
# else
echo
"pip install .[test]"
while
sleep
10
;
do
echo
"=====[ Still running after
$SECONDS
seconds ]====="
;
done
&
pip
install
.
\[
test
\]
|
tail
-n
1000
kill
%1
# 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