.travis.yml 738 字节
Newer Older
Y
Yu Yang 已提交
1 2 3 4
language: cpp
cache: ccache
sudo: required
dist: trusty
Y
Yu Yang 已提交
5 6 7
env:
  - JOB=DOCS
  - JOB=BUILD_AND_TEST
Y
Yu Yang 已提交
8 9 10 11 12 13 14 15 16 17 18 19 20 21
addons:
  apt:
    packages:
      - gcc-4.8
      - g++-4.8
      - wget
      - git
      - build-essential
      - libatlas-base-dev
      - python
      - python-pip
      - python2.7-dev
      - m4
      - libprotobuf-dev
Y
Yu Yang 已提交
22
      - doxygen
Y
Yu Yang 已提交
23 24 25 26 27 28 29 30
      - protobuf-compiler
      - python-protobuf
      - python-numpy
      - python-wheel
      - libgoogle-glog-dev
      - libgflags-dev
      - libgtest-dev
before_install:
Y
Yu Yang 已提交
31
  - pip install wheel protobuf sphinx breathe recommonmark
Y
Yu Yang 已提交
32 33
  - sudo paddle/scripts/travis/before_install.sh
script:
Y
Yu Yang 已提交
34
  - paddle/scripts/travis/main.sh
Y
Yu Yang 已提交
35 36 37 38
notifications:
  email:
    on_success: change
    on_failure: always