.travis.yml 734 字节
Newer Older
Y
Yu Yang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
language: cpp
cache: ccache
sudo: required
dist: trusty
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
      - protobuf-compiler
      - python-protobuf
      - python-numpy
      - python-wheel
      - libgoogle-glog-dev
      - libgflags-dev
      - libgtest-dev
before_install:
  - pip install wheel protobuf
  - sudo paddle/scripts/travis/before_install.sh
script:
  - paddle/scripts/travis/build.sh
  - paddle/scripts/travis/unittest.sh
Y
Yu Yang 已提交
32
  - paddle/scripts/travis/make_install.sh
Y
Yu Yang 已提交
33 34 35 36
notifications:
  email:
    on_success: change
    on_failure: always