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
4179782d
"examples/vscode:/vscode.git/clone" did not exist on "b134f6a8b6b3d75af45a0b918b4006d2a06e0f91"
Commit
4179782d
authored
Jul 31, 2020
by
rusty1s
Browse files
only build travis on small subset in case of no deployment
parent
9b11dce8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
83 additions
and
21 deletions
+83
-21
.travis.yml
.travis.yml
+83
-21
No files found.
.travis.yml
View file @
4179782d
...
...
@@ -9,27 +9,89 @@ env:
global
:
-
CUDA_HOME=/usr/local/cuda
jobs
:
# Python 3.6
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cpu
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu92
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu101
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu102
# Python 3.7
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu101
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cpu
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu92
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu101
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu102
# Python 3.8
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
#
- PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cpu
#
- PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu92
#
- PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu101
#
- PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu102
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cpu
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu92
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu101
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu102
jobs
:
# For daily builds, we only test on Python 3.6/CUDA 10.2
# For deployment, we exclude *all* macOS CUDA and Windows CUDA 9.2 jobs.
exclude
:
# Python 3.6
-
if
:
not (tag is present or commit_message =~ ci-deploy) and os != osx
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os != linux
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = osx
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
-
if
:
os = osx
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
-
if
:
not (tag is present or commit_message =~ ci-deploy) and os != osx
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cpu
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os != linux
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu92
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = osx
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu101
-
if
:
os = osx
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu102
# Python 3.7
-
if
:
not (tag is present or commit_message =~ ci-deploy)
env
:
PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os != linux
env
:
PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = odx
env
:
PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu101
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = odx
env
:
PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
-
if
:
not (tag is present or commit_message =~ ci-deploy)
env
:
PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cpu
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os != linux
env
:
PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu92
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = odx
env
:
PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu101
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = odx
env
:
PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu102
# Python 3.8
-
if
:
not (tag is present or commit_message =~ ci-deploy)
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os != linux
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = o
s
x
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = o
d
x
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
-
if
:
os = os
x
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = od
x
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
-
if
:
not (tag is present or commit_message =~ ci-deploy)
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cpu
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os != linux
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu92
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = odx
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu101
-
if
:
not (tag is present or commit_message =~ ci-deploy) or os = odx
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu102
install
:
-
source script/gcc.sh
...
...
@@ -49,19 +111,19 @@ 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_scatter
#
condition: $TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy
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_scatter
condition
:
$TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy
notifications
:
email
:
false
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