.travis.yml 527 字节
Newer Older
G
guru4elephant 已提交
1 2 3 4 5 6 7 8 9 10 11 12
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:
B
barrierye 已提交
13 14
    - if [ $COMPILE_TYPE == "CPU" ]; then docker run -it -v $PWD:/Serving serving-img:${COMPILE_TYPE} /bin/bash Serving/tools/serving_check_style.sh ; fi;
    - docker run -it -v $PWD:/Serving serving-img:${COMPILE_TYPE} /bin/bash Serving/tools/serving_build.sh $COMPILE_TYPE