提交 8d551513 编写于 作者: G gangliao 提交者: GitHub

Merge pull request #88 from pkuyym/ci_unittest

Expand .travis.yml to support docker.
......@@ -2,6 +2,8 @@ language: cpp
cache: ccache
sudo: required
dist: trusty
services:
- docker
os:
- linux
env:
......@@ -16,8 +18,13 @@ addons:
- python2.7-dev
before_install:
- pip install -U virtualenv pre-commit pip
- docker pull paddlepaddle/paddle:latest
script:
- .travis/precommit.sh
- docker run -i --rm -v "$PWD:/py_unittest" paddlepaddle/paddle:latest /bin/bash -c
"cd /py_unittest && find . -name 'tests' -type d -print0 | xargs -0 -I{} -n1 bash -c 'cd {};
python -m unittest discover -v'"
notifications:
email:
on_success: change
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册