Commit f5782aa6 authored by rusty1s's avatar rusty1s
Browse files

update

parent 019ab095
...@@ -11,8 +11,8 @@ env: ...@@ -11,8 +11,8 @@ env:
jobs: jobs:
# Python 3.8 # Python 3.8
- PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu - 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=cu92
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101 - 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.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=cpu
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu92 # - PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu92
...@@ -41,10 +41,15 @@ jobs: ...@@ -41,10 +41,15 @@ jobs:
# For daily builds, we only test on CUDA 10.2 # For daily builds, we only test on CUDA 10.2
# For deployment, we exclude *all* macOS CUDA and Windows CUDA 9.2 jobs. # For deployment, we exclude *all* macOS CUDA and Windows CUDA 9.2 jobs.
exclude: exclude:
- if: tag is blank OR os != osx - if: tag is blank and os != osx
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
# - if: ($TRAVIS_TAG = "" && ! $TRAVIS_COMMIT_MESSAGE =~ ci-deploy) || $TRAVIS_OS_NAME != "linux" - if: tag is blank or os != linux
# env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92 env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
- if: tag is blank or os = osx
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
- if: os = osx
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
# - if: ($TRAVIS_TAG = "" && ! $TRAVIS_COMMIT_MESSAGE =~ ci-deploy) || $TRAVIS_OS_NAME = "osx" # - if: ($TRAVIS_TAG = "" && ! $TRAVIS_COMMIT_MESSAGE =~ ci-deploy) || $TRAVIS_OS_NAME = "osx"
# env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101 # env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
# - if: $TRAVIS_OS_NAME = "osx" # - if: $TRAVIS_OS_NAME = "osx"
...@@ -68,19 +73,19 @@ after_success: ...@@ -68,19 +73,19 @@ after_success:
- python setup.py bdist_wheel --dist-dir=dist/torch-${TORCH_VERSION} - python setup.py bdist_wheel --dist-dir=dist/torch-${TORCH_VERSION}
- python script/rename_wheel.py ${IDX} - python script/rename_wheel.py ${IDX}
- codecov - codecov
deploy: # deploy:
provider: s3 # provider: s3
region: eu-central-1 # region: eu-central-1
edge: true # edge: true
access_key_id: ${S3_ACCESS_KEY} # access_key_id: ${S3_ACCESS_KEY}
secret_access_key: ${S3_SECRET_ACCESS_KEY} # secret_access_key: ${S3_SECRET_ACCESS_KEY}
bucket: pytorch-geometric.com # bucket: pytorch-geometric.com
local_dir: dist/torch-${TORCH_VERSION} # local_dir: dist/torch-${TORCH_VERSION}
upload_dir: whl/torch-${TORCH_VERSION} # upload_dir: whl/torch-${TORCH_VERSION}
acl: public_read # acl: public_read
on: # on:
all_branches: true # all_branches: true
repo: rusty1s/pytorch_scatter # repo: rusty1s/pytorch_scatter
condition: $TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy # condition: $TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy
notifications: notifications:
email: false email: false
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment