Skip to content

Commit 20c12c4

Browse files
authored
remove deprecated IN_CIRCLECI (#17)
1 parent 3854bee commit 20c12c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
export PATH=$HOME/miniconda/bin:$PATH
9797
conda install -y -c ${PYTORCH_CHANNEL} cpuonly future hypothesis ninja numpy pillow pytorch pyyaml psutil protobuf six
9898
conda install -y -c conda-forge openmp unittest-xml-reporting
99-
IN_CIRCLECI=1 IN_CI=1 make -C compat-tests macos-compat
99+
IN_CI=1 make -C compat-tests macos-compat
100100
- store_test_results:
101101
path: pytorch/test/test-reports
102102

compat-tests/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PYTORCH_REF ?= master
66
PYTORCH_CHANNEL ?= pytorch-test
77
BUILD_PROGRESS ?=
88

9-
# We designate IN_CIRCLECI=1 to have the runner generate xml reports
9+
# We designate IN_CI=1 to have the runner generate xml reports
1010
DOCKER_BUILD = docker build \
1111
-t compat-test:$@ \
1212
$(BUILD_PROGRESS) \
@@ -15,7 +15,7 @@ DOCKER_BUILD = docker build \
1515
--build-arg PYTORCH_REF=$(PYTORCH_REF) \
1616
--build-arg PYTORCH_CHANNEL=$(PYTORCH_CHANNEL) \
1717
.
18-
DOCKER_RUN = set -o pipefail; docker run --rm -it -e IN_CIRCLECI=1 -e IN_CI=1 -w /pytorch/test -v "$(PWD)/test-reports:/pytorch/test/test-reports" compat-test:$@
18+
DOCKER_RUN = set -o pipefail; docker run --rm -it -e IN_CI=1 -w /pytorch/test -v "$(PWD)/test-reports:/pytorch/test/test-reports" compat-test:$@
1919

2020
.PHONY: ubuntu-16.04
2121
ubuntu-16.04: BASE_IMAGE := ubuntu:16.04

0 commit comments

Comments
 (0)