"tests/git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "e70dca8f86f8103d32769b443672f64045776509"
Unverified Commit 63128cb4 authored by Francisco Massa's avatar Francisco Massa Committed by GitHub
Browse files

Use PyTorch 1.3 for CI (#1467)

* Use PyTorch 1.3 for CI

* Try fixing TravisCI

* Revert rebase to master to old state

* Try pinning lastest anaconda that was working, there was a new package out yesterday that might have breaken up things

* Try removing conda update conda
parent 0d878175
...@@ -20,7 +20,8 @@ commands: ...@@ -20,7 +20,8 @@ commands:
set -ex set -ex
BRANCH=$(git rev-parse --abbrev-ref HEAD) BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [[ "$BRANCH" != "master" ]]; then if [[ "$BRANCH" != "master" ]]; then
git merge origin/master git fetch --force origin ${CIRCLE_BRANCH}/merge:merged/${CIRCLE_BRANCH}
git checkout "merged/$CIRCLE_BRANCH"
fi fi
binary_common: &binary_common binary_common: &binary_common
...@@ -31,9 +32,9 @@ binary_common: &binary_common ...@@ -31,9 +32,9 @@ binary_common: &binary_common
type: string type: string
default: "" default: ""
pytorch_version: pytorch_version:
description: "PyTorch version to build against; by default, use a nightly" description: "PyTorch version to build against; by default, use 1.3. Use empty string for nightly"
type: string type: string
default: "" default: "1.3"
# Don't edit these # Don't edit these
python_version: python_version:
description: "Python version to build against (e.g., 3.7)" description: "Python version to build against (e.g., 3.7)"
......
...@@ -20,7 +20,8 @@ commands: ...@@ -20,7 +20,8 @@ commands:
set -ex set -ex
BRANCH=$(git rev-parse --abbrev-ref HEAD) BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [[ "$BRANCH" != "master" ]]; then if [[ "$BRANCH" != "master" ]]; then
git merge origin/master git fetch --force origin ${CIRCLE_BRANCH}/merge:merged/${CIRCLE_BRANCH}
git checkout "merged/$CIRCLE_BRANCH"
fi fi
binary_common: &binary_common binary_common: &binary_common
...@@ -31,9 +32,9 @@ binary_common: &binary_common ...@@ -31,9 +32,9 @@ binary_common: &binary_common
type: string type: string
default: "" default: ""
pytorch_version: pytorch_version:
description: "PyTorch version to build against; by default, use a nightly" description: "PyTorch version to build against; by default, use 1.3. Use empty string for nightly"
type: string type: string
default: "" default: "1.3"
# Don't edit these # Don't edit these
python_version: python_version:
description: "Python version to build against (e.g., 3.7)" description: "Python version to build against (e.g., 3.7)"
......
...@@ -39,11 +39,10 @@ before_install: ...@@ -39,11 +39,10 @@ before_install:
- export PATH="$HOME/miniconda/bin:$PATH" - export PATH="$HOME/miniconda/bin:$PATH"
- hash -r - hash -r
- conda config --set always_yes yes --set changeps1 no - conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda # Useful for debugging any issues with conda
- conda info -a - conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pytorch scipy -c pytorch-nightly - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pytorch scipy -c pytorch
- source activate test-environment - source activate test-environment
- | - |
if [[ "$IMAGE_BACKEND" == "Pillow-SIMD" ]]; then if [[ "$IMAGE_BACKEND" == "Pillow-SIMD" ]]; then
......
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