.travis.yml 1.65 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
  - clang
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=Release
19
    - BUILD_WITH_CATKIN_SUPPORT=false
20

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

jobs:
31
  include:
Justin Carpentier's avatar
Justin Carpentier committed
32
    - dist: bionic
33 34 35
      env: BUILD_WITH_COLLISION_SUPPORT=OFF
    - dist: trusty 
      env: BUILD_WITH_COLLISION_SUPPORT=ON
36
    - dist: xenial
37
      env: BUILD_WITH_COLLISION_SUPPORT=ON
Justin Carpentier's avatar
Justin Carpentier committed
38 39
    - dist: bionic
      env: BUILD_WITH_COLLISION_SUPPORT=ON
40

41
allow_failures:
42 43 44
  - compiler:
before_install: ./travis_custom/custom_before_install
install:
45
  - pip install --user pyopenssl
46
  - pip install --user numpy
47
script:
48
  - export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE} -DBUILD_WITH_COLLISION_SUPPORT=${BUILD_WITH_COLLISION_SUPPORT}"
49
  - sudo free -m -t
Justin Carpentier's avatar
Justin Carpentier committed
50
  - travis_wait 60 ./.travis/run ../travis_custom/custom_build
51
after_failure: ./.travis/run after_failure
52 53 54 55
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
56
  - export PYTHONPATH=$PYHTONPATH:/tmp/_ci/install/lib/python2.7/site-packages:/usr/lib/python2.7/dist-packages