Update .travis.yml (#264)
This commit is contained in:
parent
00299910f3
commit
09205f40f0
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue