Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
6e77514a
Commit
6e77514a
authored
Feb 11, 2020
by
rusty1s
Browse files
windows build
parent
88d93b75
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
12 deletions
+30
-12
.travis.yml
.travis.yml
+30
-12
No files found.
.travis.yml
View file @
6e77514a
...
@@ -13,33 +13,51 @@ env:
...
@@ -13,33 +13,51 @@ env:
global
:
global
:
-
TORCH_VERSION=1.4.0
-
TORCH_VERSION=1.4.0
-
CIBW_BUILD=cp36-*
-
CIBW_BUILD=cp36-*
jobs
:
#
jobs:
-
FORCE_CUDA=0 TORCH=${TORCH_VERSION}+cpu
#
- FORCE_CUDA=0 TORCH=${TORCH_VERSION}+cpu
-
FORCE_CUDA=1 CUDA_SHORT=9.2 CUDA=9.2.148-1 UBUNTU_VERSION=ubuntu1604 CUBLAS=cuda-cublas-dev-9-2 TORCH=${TORCH_VERSION}+cu92
#
- FORCE_CUDA=1 CUDA_SHORT=9.2 CUDA=9.2.148-1 UBUNTU_VERSION=ubuntu1604 CUBLAS=cuda-cublas-dev-9-2 TORCH=${TORCH_VERSION}+cu92
# - FORCE_CUDA=1 CUDA_SHORT=10.0 CUDA=10.0.130-1 UBUNTU_VERSION=ubuntu1804 CUBLAS=cuda-cublas-dev-10-0 TORCH=${TORCH_VERSION}+cu100
# - FORCE_CUDA=1 CUDA_SHORT=10.0 CUDA=10.0.130-1 UBUNTU_VERSION=ubuntu1804 CUBLAS=cuda-cublas-dev-10-0 TORCH=${TORCH_VERSION}+cu100
# - FORCE_CUDA=1 CUDA_SHORT=10.1 CUDA=10.1.105-1 UBUNTU_VERSION=ubuntu1804 CUBLAS=libcublas-dev TORCH=${TORCH_VERSION}
# - FORCE_CUDA=1 CUDA_SHORT=10.1 CUDA=10.1.105-1 UBUNTU_VERSION=ubuntu1804 CUBLAS=libcublas-dev TORCH=${TORCH_VERSION}
jobs
:
jobs
:
include
:
include
:
-
os
:
os
x
-
os
:
linu
x
python
:
3.6
python
:
3.6
env
:
FORCE_CUDA=0 TORCH=${TORCH_VERSION}
env
:
-
TORCH=${TORCH_VERSION}+cpu
-
os
:
linux
python
:
3.6
env
:
-
FORCE_CUDA=1
-
CUDA_SHORT=9.2
-
CUDA=9.2.148-1
-
UBUNTU_VERSION=ubuntu1604
-
CUBLAS=cuda-cublas-dev-9-2
-
TORCH=${TORCH_VERSION}+cu92
-
os
:
windows
language
:
shell
# `language: python` is an error on Travis CI Windows
before_install
:
-
choco install python --version 3.6.7
# - os: o
# python: 3.6
# env: FORCE_CUDA=0 TORCH=${TORCH_VERSION}
before_install
:
before_install
:
-
pip3 --upgrade pip
-
source install.sh
-
source install.sh
-
pip install numpy
-
pip
3
install numpy
-
pip install torch==${TORCH} -f https://download.pytorch.org/whl/torch_stable.html
-
pip
3
install torch==${TORCH} -f https://download.pytorch.org/whl/torch_stable.html
-
python -c "import torch; print(torch.__version__)"
-
python -c "import torch; print(torch.__version__)"
-
pip install flake8
-
pip
3
install flake8
-
pip install twine cibuildwheel
-
pip
3
install twine cibuildwheel
install
:
install
:
-
python setup.py install
-
python3 setup.py install ||
python setup.py install
script
:
script
:
-
flake8 .
-
flake8 .
-
py
thon setup.py
test
-
pytest
-
python -m cibuildwheel --output-dir wheelhouse
-
python
3
-m cibuildwheel --output-dir wheelhouse
-
ls wheelhouse
-
ls wheelhouse
notifications
:
notifications
:
email
:
false
email
:
false
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment