99 global :
1010 - CUDA_HOME=/usr/local/cuda
1111 jobs :
12+ # Python 3.6
13+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
14+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
15+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
16+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
17+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cpu
18+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu92
19+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu101
20+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu102
21+ # Python 3.7
22+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
23+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
24+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu101
25+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
26+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cpu
27+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu92
28+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu101
29+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu102
1230 # Python 3.8
1331 - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
1432 - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
1533 - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
1634 - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
17- # - PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cpu
18- # - PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu92
19- # - PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu101
20- # - PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu102
35+ - PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cpu
36+ - PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu92
37+ - PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu101
38+ - PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu102
2139
2240jobs :
41+ # For daily builds, we only test on Python 3.6/CUDA 10.2
42+ # For deployment, we exclude *all* macOS CUDA and Windows CUDA 9.2 jobs.
2343 exclude :
44+ # Python 3.6
2445 - if : not (tag is present or commit_message =~ ci-deploy) and os != osx
46+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
47+ - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
48+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
49+ - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
50+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
51+ - if : os = osx
52+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
53+ - if : not (tag is present or commit_message =~ ci-deploy) and os != osx
54+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cpu
55+ - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
56+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu92
57+ - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
58+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu101
59+ - if : os = osx
60+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.5.0 IDX=cu102
61+ # Python 3.7
62+ - if : not (tag is present or commit_message =~ ci-deploy)
63+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
64+ - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
65+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
66+ - if : not (tag is present or commit_message =~ ci-deploy) or os = odx
67+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu101
68+ - if : not (tag is present or commit_message =~ ci-deploy) or os = odx
69+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
70+ - if : not (tag is present or commit_message =~ ci-deploy)
71+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cpu
72+ - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
73+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu92
74+ - if : not (tag is present or commit_message =~ ci-deploy) or os = odx
75+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu101
76+ - if : not (tag is present or commit_message =~ ci-deploy) or os = odx
77+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.5.0 IDX=cu102
78+ # Python 3.8
79+ - if : not (tag is present or commit_message =~ ci-deploy)
2580 env : PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
2681 - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
2782 env : PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
28- - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
83+ - if : not (tag is present or commit_message =~ ci-deploy) or os = odx
2984 env : PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
30- - if : os = osx
85+ - if : not (tag is present or commit_message =~ ci-deploy) or os = odx
3186 env : PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
32-
87+ - if : not (tag is present or commit_message =~ ci-deploy)
88+ env : PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cpu
89+ - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
90+ env : PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu92
91+ - if : not (tag is present or commit_message =~ ci-deploy) or os = odx
92+ env : PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu101
93+ - if : not (tag is present or commit_message =~ ci-deploy) or os = odx
94+ env : PYTHON_VERSION=3.8 TORCH_VERSION=1.5.0 IDX=cu102
3395
3496install :
3597 - source script/gcc.sh
@@ -49,19 +111,19 @@ after_success:
49111 - python setup.py bdist_wheel --dist-dir=dist/torch-${TORCH_VERSION}
50112 - python script/rename_wheel.py ${IDX}
51113 - codecov
52- # deploy:
53- # provider: s3
54- # region: eu-central-1
55- # edge: true
56- # access_key_id: ${S3_ACCESS_KEY}
57- # secret_access_key: ${S3_SECRET_ACCESS_KEY}
58- # bucket: pytorch-geometric.com
59- # local_dir: dist/torch-${TORCH_VERSION}
60- # upload_dir: whl/torch-${TORCH_VERSION}
61- # acl: public_read
62- # on:
63- # all_branches: true
64- # repo: rusty1s/pytorch_scatter
65- # condition: $TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy
114+ deploy :
115+ provider : s3
116+ region : eu-central-1
117+ edge : true
118+ access_key_id : ${S3_ACCESS_KEY}
119+ secret_access_key : ${S3_SECRET_ACCESS_KEY}
120+ bucket : pytorch-geometric.com
121+ local_dir : dist/torch-${TORCH_VERSION}
122+ upload_dir : whl/torch-${TORCH_VERSION}
123+ acl : public_read
124+ on :
125+ all_branches : true
126+ repo : rusty1s/pytorch_scatter
127+ condition : $TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy
66128notifications :
67129 email : false
0 commit comments