Commit abf5f005 authored by rusty1s's avatar rusty1s
Browse files

test install

parent 2a094837
...@@ -11,17 +11,17 @@ env: ...@@ -11,17 +11,17 @@ env:
jobs: jobs:
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cpu - 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=cu92
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.8 IDX=cu101 # - 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.8 IDX=cu102
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cpu # - 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=cu92
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.7 IDX=cu101 # - 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.7 IDX=cu102
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cpu # - 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=cu92
- TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu101 # - 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.6 IDX=cu102
jobs: jobs:
exclude: # Exclude *all* macOS CUDA jobs and Windows CUDA 9.2 jobs. exclude: # Exclude *all* macOS CUDA jobs and Windows CUDA 9.2 jobs.
...@@ -63,26 +63,26 @@ install: ...@@ -63,26 +63,26 @@ install:
- pip install flake8 codecov - pip install flake8 codecov
- pip install scipy==1.4.1 - pip install scipy==1.4.1
- source script/install.sh - source script/install.sh
script: # script:
- flake8 . # - flake8 .
- python setup.py test # - python setup.py test
after_success: # 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_sparse # repo: rusty1s/pytorch_sparse
condition: $TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy # condition: $TRAVIS_TAG != "" || $TRAVIS_COMMIT_MESSAGE =~ ci-deploy
notifications: # notifications:
email: false # email: false
#!/bin/bash #!/bin/bash
if [ "${TRAVIS_OS_NAME}" != "windows" ]; then # if [ "${TRAVIS_OS_NAME}" != "windows" ]; then
python setup.py install # echo "LOL"
else # pip install .\[test\]
echo "pip install .[test]" # else
while sleep 540; do echo "=====[ Still running after $SECONDS seconds ]====="; done & echo "pip install .[test]"
pip install .\[test\] | tail -n 1000 while sleep 10; do echo "=====[ Still running after $SECONDS seconds ]====="; done &
kill %1 pip install .\[test\] | tail -n 1000
fi 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