.travis.yml 1.62 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=Release
19
    - BUILD_WITH_CATKIN_SUPPORT=false
20
    - CTEST_OUTPUT_ON_FAILURE=1
21

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

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

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