.travis.yml 1.56 KB
Newer Older
1
language: generic
2
python:
3
  - "2.7"
olivier stasse's avatar
olivier stasse committed
4
sudo: required
5 6
git:
  depth: false
7
compiler:
8
  - gcc
9
env:
10 11
  global:
    - secure: "SnIBG/xLIHX3CSvUbqqsX8xTVqIqQ7fFS6HWO6KZQVBsT6yugTwYHbyhNiU531JejYJ/I3ZrDhXfYH3qFZiYxnH1sifvwV+fnTtMXpPN7qPZwIymkjcmm6gJF51e0C7VOfUbvKFv0ngwj+ul21rgZSMuoEvxPK0WxtE3/ZSfn9c="
12
    - APT_DEPENDENCIES="doxygen libeigen3-dev "
13
    - DEBSIGN_KEYID=5AE5CD75
14
    - LCOV_IGNORE_RULES="*unittest* /opt/openrobots/*"
15 16
    - DO_COVERAGE_ON_BRANCH="master;release"
    - DO_CPPCHECK_ON_BRANCH=""
17
    - DO_INSTALL_DOC_EXCEPT_ON_BRANCH=""
18
    - BUILDTYPE=MinSizeRel
19

20 21
notifications:
email:
22
  - pinocchio-dev@laas.fr
23
branches:
24 25 26 27 28 29
  only:
    - master
    - debian
    - devel

jobs:
30
  include:
31
    - dist: xenial
32 33 34
      env: BUILD_WITH_COLLISION_SUPPORT=OFF
    - dist: trusty 
      env: BUILD_WITH_COLLISION_SUPPORT=ON
35
    - dist: xenial
36 37
      env: BUILD_WITH_COLLISION_SUPPORT=ON

38
allow_failures:
39 40 41
  - compiler:
before_install: ./travis_custom/custom_before_install
install:
42
  - pip install --user pyopenssl
43
  - pip install --user numpy
44
script:
45
  - export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE} -DBUILD_WITH_COLLISION_SUPPORT=${BUILD_WITH_COLLISION_SUPPORT}"
46
  - sudo free -m -t
Justin Carpentier's avatar
Justin Carpentier committed
47
  - travis_wait 45 ./.travis/run ../travis_custom/custom_build
48
after_failure: ./.travis/run after_failure
49 50 51 52
after_success:
  - ./.travis/run after_success
  #- export PYTHONPATH=$install_dir/lib/python2.7/site-packages
  #- coveralls-lcov -v -n $build_dir/coverage.info > coverage.json
53
  - export PYTHONPATH=$PYHTONPATH:/tmp/_ci/install/lib/python2.7/site-packages:/usr/lib/python2.7/dist-packages