"vscode:/vscode.git/clone" did not exist on "8c2c08df56200ef6c42d93925efc494b009bf9b7"
Unverified Commit 684f48db authored by Eli Uriegas's avatar Eli Uriegas Committed by GitHub
Browse files

.circleci: Output commands on run for easier debugging (#2073)



These are a bit difficult to debug when you can't see the commands that
are running. So just output every command that's running to stdout using
`set -x`
Signed-off-by: default avatarEli Uriegas <eliuriegas@fb.com>
parent a26d5485
...@@ -164,7 +164,7 @@ jobs: ...@@ -164,7 +164,7 @@ jobs:
- run: - run:
name: Setup environment name: Setup environment
command: | command: |
set -e set -ex
curl -L https://packagecloud.io/circleci/trusty/gpgkey | sudo apt-key add - curl -L https://packagecloud.io/circleci/trusty/gpgkey | sudo apt-key add -
curl -L https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - curl -L https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
...@@ -206,7 +206,7 @@ jobs: ...@@ -206,7 +206,7 @@ jobs:
- run: - run:
name: Pull docker image name: Pull docker image
command: | command: |
set -e set -ex
export DOCKER_IMAGE=pytorch/conda-cuda export DOCKER_IMAGE=pytorch/conda-cuda
echo Pulling docker image $DOCKER_IMAGE echo Pulling docker image $DOCKER_IMAGE
docker pull $DOCKER_IMAGE >/dev/null docker pull $DOCKER_IMAGE >/dev/null
...@@ -214,7 +214,7 @@ jobs: ...@@ -214,7 +214,7 @@ jobs:
- run: - run:
name: Build and run tests name: Build and run tests
command: | command: |
set -e set -ex
cd ${HOME}/project/ cd ${HOME}/project/
......
...@@ -164,7 +164,7 @@ jobs: ...@@ -164,7 +164,7 @@ jobs:
- run: - run:
name: Setup environment name: Setup environment
command: | command: |
set -e set -ex
curl -L https://packagecloud.io/circleci/trusty/gpgkey | sudo apt-key add - curl -L https://packagecloud.io/circleci/trusty/gpgkey | sudo apt-key add -
curl -L https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - curl -L https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
...@@ -206,7 +206,7 @@ jobs: ...@@ -206,7 +206,7 @@ jobs:
- run: - run:
name: Pull docker image name: Pull docker image
command: | command: |
set -e set -ex
export DOCKER_IMAGE=pytorch/conda-cuda export DOCKER_IMAGE=pytorch/conda-cuda
echo Pulling docker image $DOCKER_IMAGE echo Pulling docker image $DOCKER_IMAGE
docker pull $DOCKER_IMAGE >/dev/null docker pull $DOCKER_IMAGE >/dev/null
...@@ -214,7 +214,7 @@ jobs: ...@@ -214,7 +214,7 @@ jobs:
- run: - run:
name: Build and run tests name: Build and run tests
command: | command: |
set -e set -ex
cd ${HOME}/project/ cd ${HOME}/project/
......
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