Skip to content

Commit abf5f00

Browse files
committed
test install
1 parent 2a09483 commit abf5f00

File tree

2 files changed

+43
-42
lines changed

2 files changed

+43
-42
lines changed

.travis.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ env:
1111

1212
jobs:
1313
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cpu
14-
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu92
15-
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu101
16-
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu102
17-
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cpu
18-
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu92
19-
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu101
20-
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu102
21-
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cpu
22-
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu92
23-
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu101
24-
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu102
14+
# - TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu92
15+
# - TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu101
16+
# - TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu102
17+
# - TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cpu
18+
# - TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu92
19+
# - TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu101
20+
# - TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu102
21+
# - TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cpu
22+
# - TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu92
23+
# - TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu101
24+
# - TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu102
2525

2626
jobs:
2727
exclude: # Exclude *all* macOS CUDA jobs and Windows CUDA 9.2 jobs.
@@ -63,26 +63,26 @@ install:
6363
- pip install flake8 codecov
6464
- pip install scipy==1.4.1
6565
- source script/install.sh
66-
script:
67-
- flake8 .
68-
- python setup.py test
69-
after_success:
70-
- python setup.py bdist_wheel --dist-dir=dist/torch-${TORCH_VERSION}
71-
- python script/rename_wheel.py ${IDX}
72-
- codecov
73-
deploy:
74-
provider: s3
75-
region: eu-central-1
76-
edge: true
77-
access_key_id: ${S3_ACCESS_KEY}
78-
secret_access_key: ${S3_SECRET_ACCESS_KEY}
79-
bucket: pytorch-geometric.com
80-
local_dir: dist/torch-${TORCH_VERSION}
81-
upload_dir: whl/torch-${TORCH_VERSION}
82-
acl: public_read
83-
on:
84-
all_branches: true
85-
repo: rusty1s/pytorch_sparse
86-
condition: $TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy
87-
notifications:
88-
email: false
66+
# script:
67+
# - flake8 .
68+
# - python setup.py test
69+
# after_success:
70+
# - python setup.py bdist_wheel --dist-dir=dist/torch-${TORCH_VERSION}
71+
# - python script/rename_wheel.py ${IDX}
72+
# - codecov
73+
# deploy:
74+
# provider: s3
75+
# region: eu-central-1
76+
# edge: true
77+
# access_key_id: ${S3_ACCESS_KEY}
78+
# secret_access_key: ${S3_SECRET_ACCESS_KEY}
79+
# bucket: pytorch-geometric.com
80+
# local_dir: dist/torch-${TORCH_VERSION}
81+
# upload_dir: whl/torch-${TORCH_VERSION}
82+
# acl: public_read
83+
# on:
84+
# all_branches: true
85+
# repo: rusty1s/pytorch_sparse
86+
# condition: $TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy
87+
# notifications:
88+
# email: false

script/install.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#!/bin/bash
22

3-
if [ "${TRAVIS_OS_NAME}" != "windows" ]; then
4-
python setup.py install
5-
else
6-
echo "pip install .[test]"
7-
while sleep 540; do echo "=====[ Still running after $SECONDS seconds ]====="; done &
8-
pip install .\[test\] | tail -n 1000
9-
kill %1
10-
fi
3+
# if [ "${TRAVIS_OS_NAME}" != "windows" ]; then
4+
# echo "LOL"
5+
# pip install .\[test\]
6+
# else
7+
echo "pip install .[test]"
8+
while sleep 10; do echo "=====[ Still running after $SECONDS seconds ]====="; done &
9+
pip install .\[test\] | tail -n 1000
10+
kill %1
11+
# fi

0 commit comments

Comments
 (0)