Commit 4d676cd3 authored by rusty1s's avatar rusty1s
Browse files

retry installation

parent 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
#!/bin/bash
# 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
if [ "${TRAVIS_OS_NAME}" != "windows" ]; then
pip install .\[test\]
else
echo "pip install .[test]"
while sleep 30; do echo "=====[ Still running after $SECONDS seconds ]====="; done &
pip install .\[test\] | tail -n 1000
kill %1
fi
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