Update .travis.yml (#264)

This commit is contained in:
Tian Jin 2020-08-16 16:45:33 +08:00 committed by GitHub
parent 00299910f3
commit 09205f40f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -11,15 +11,6 @@ script:
- echo "CPU Architecture is " $TRAVIS_CPU_ARCH - echo "CPU Architecture is " $TRAVIS_CPU_ARCH
- echo "commit is " $TRAVIS_COMMIT - echo "commit is " $TRAVIS_COMMIT
- df -h - df -h
- if true; then
echo "Building Prereq";
docker build --tag onnxmlirczar/onnx-mlir-llvmimage:$TRAVIS_CPU_ARCH -f ./docker/prereq.$TRAVIS_CPU_ARCH.Dockerfile ./utils;
docker login -u onnxmlirczar -p 143f1da2-332f-45a1-8587-d6cb07c13230
docker push onnxmlirczar/onnx-mlir-llvmimage:$TRAVIS_CPU_ARCH
exit;
else
echo "Regular Build";
fi
- docker build --tag onnx-mlir-build:initial --build-arg BASE="onnxmlirczar/onnx-mlir-image:$TRAVIS_CPU_ARCH" -f ./docker/$TRAVIS_CPU_ARCH.Dockerfile ./docker - docker build --tag onnx-mlir-build:initial --build-arg BASE="onnxmlirczar/onnx-mlir-image:$TRAVIS_CPU_ARCH" -f ./docker/$TRAVIS_CPU_ARCH.Dockerfile ./docker
- docker run -itd --name build onnx-mlir-build:initial - docker run -itd --name build onnx-mlir-build:initial
- echo "docker is running now" - echo "docker is running now"