language: generic sudo: required dist: trusty os: - linux env: - COMPILE_TYPE=CPU DOCKERFILE_CPU=$PWD/tools/Dockerfile.ci services: - docker before_install: - docker build -f ${DOCKERFILE_CPU} -t serving-img:${COMPILE_TYPE} . install: - docker run -it -v $PWD:/Serving serving-img:${COMPILE_TYPE} /bin/bash Serving/tools/serving-build.sh $COMPILE_TYPE