.travis.yml 583 字节
Newer Older
1
group: deprecated-2017Q2
C
caoying03 已提交
2 3 4 5
language: cpp
cache: ccache
sudo: required
dist: trusty
6 7
services:
  - docker
C
caoying03 已提交
8 9 10 11 12 13 14 15 16 17 18 19 20 21
os:
  - linux
env:
  - JOB=PRE_COMMIT

addons:
  apt:
    packages:
      - git
      - python
      - python-pip
      - python2.7-dev
before_install:
  -  pip install -U virtualenv pre-commit pip
22
  -  docker pull paddlepaddle/paddle:latest
C
caoying03 已提交
23 24
script:
  -  .travis/precommit.sh
Y
yangyaming 已提交
25 26
  -  docker run -i --rm -v "$PWD:/py_unittest" paddlepaddle/paddle:latest /bin/bash -c 
    'cd /py_unittest; sh .travis/unittest.sh'
27

C
caoying03 已提交
28 29 30 31
notifications:
  email:
    on_success: change
    on_failure: always