Skip to content

Commit 22b05c9

Browse files
committed
Merge branch 'travis' of github.com:rusty1s/pytorch_scatter into travis
2 parents af59b1e + f007e92 commit 22b05c9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ install:
6161
- source script/conda.sh
6262
- conda create --yes -n test python="${PYTHON_VERSION}"
6363
- source activate test
64+
- conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch --yes
6465
- source script/torch.sh
6566
- pip install flake8 codecov
6667
- python setup.py install

script/torch.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash
22

3-
conda install pytorch="${TORCH_VERSION}" "${TOOLKIT}" -c pytorch --yes
4-
53
# Fix "member may not be initialized" error on Windows: https://github.com/pytorch/pytorch/issues/27958
64
if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
75
sed -i.bak -e 's/constexpr/const/g' /c/tools/miniconda3/envs/test/lib/site-packages/torch/include/torch/csrc/jit/script/module.h

0 commit comments

Comments
 (0)