.travis.yml 1.76 KB
Newer Older
1
language: generic
olivier stasse's avatar
olivier stasse committed
2
sudo: required
3 4
git:
  depth: false
5
compiler:
6
  - gcc
Joseph Mirabel's avatar
Joseph Mirabel committed
7 8
cache:
  ccache: true
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
      env: BUILD_WITH_COLLISION_SUPPORT=OFF
Justin Carpentier's avatar
Justin Carpentier committed
35
      python: "2.7"
36 37
    - dist: trusty 
      env: BUILD_WITH_COLLISION_SUPPORT=ON
Justin Carpentier's avatar
Justin Carpentier committed
38
      python: "2.7"
39
    - dist: xenial
40
      env: BUILD_WITH_COLLISION_SUPPORT=ON
Justin Carpentier's avatar
Justin Carpentier committed
41 42 43 44
      python: "2.7"
    - dist: xenial
      env: BUILD_WITH_COLLISION_SUPPORT=ON
      python: "3.5"
45

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