[build] disable test_expect for pinning cmake to 3.5* in dockerfiles repo (#8850)

* pin pytorch-linux-xenial* to use cmake 3.5*

* disable test_expect
This commit is contained in:
Tongzhou Wang 2018-06-25 14:21:42 -04:00 committed by Soumith Chintala
parent 04440d2c57
commit 2b926aafb0
3 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,7 @@ if [[ "$BUILD_ENVIRONMENT" == "pytorch-linux-xenial-py3-clang5-asan" ]]; then
fi
# TODO: move this to Docker
# TODO: add both NCCL and MPI in CI test by fixing these test first
# TODO: add both NCCL and MPI in CI test by fixing these test first
# sudo apt-get update
# sudo apt-get install libnccl-dev libnccl2
# sudo apt-get install openmpi-bin libopenmpi-dev
@ -23,6 +23,9 @@ python --version
echo "GCC version:"
gcc --version
echo "CMake version:"
cmake --version
# TODO: Don't run this...
pip install -r requirements.txt || true

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
#cmake_policy(SET CMP0022 NEW)
#cmake_policy(SET CMP0023 NEW)

View File

@ -673,6 +673,7 @@ class TestCollectEnv(TestCase):
self.assertTrue(info_output.count('\n') >= 17)
@unittest.skipIf('BUILD_ENVIRONMENT' not in os.environ.keys(), 'CI-only test')
@unittest.skip('temporarily skip to change cmake version in CI')
def test_expect(self):
info_output = get_pretty_env_info()