.travis.yml 1.24 KB
Newer Older
1
language: python
jcarpent's avatar
jcarpent committed
2
3
python:
  - "2.7"
4
  - "3.5"
jcarpent's avatar
jcarpent committed
5
6
7
8
9
10
11
sudo: required
compiler:
  - gcc
# - clang
env:
  global:
    - secure: "SnIBG/xLIHX3CSvUbqqsX8xTVqIqQ7fFS6HWO6KZQVBsT6yugTwYHbyhNiU531JejYJ/I3ZrDhXfYH3qFZiYxnH1sifvwV+fnTtMXpPN7qPZwIymkjcmm6gJF51e0C7VOfUbvKFv0ngwj+ul21rgZSMuoEvxPK0WxtE3/ZSfn9c="
12
    - APT_DEPENDENCIES="doxygen libeigen3-dev libboost-test-dev libboost-python-dev"
jcarpent's avatar
jcarpent committed
13
14
15
16
17
    - DEBSIGN_KEYID=5AE5CD75
    - CC=gcc
    - DO_COVERAGE_ON_BRANCH="master;release"
    - DO_CPPCHECK_ON_BRANCH=""
    - DO_INSTALL_DOC_EXCEPT_ON_BRANCH=""
18
    - BUILD_WITH_CATKIN_SUPPORT=false
19
    - MAKEFLAGS="-j2"
20
21
22

jobs:
  include:
23
24
25
26
    - dist: bionic
      env: BUILDTYPE=Release
    - dist: bionic
      env: BUILDTYPE=Debug
27
    - dist: xenial
28
29
30
      env: BUILDTYPE=Release
    - dist: xenial
      env: BUILDTYPE=Debug
31
    - dist: trusty 
32
      env: BUILDTYPE=Debug
33

jcarpent's avatar
jcarpent committed
34
notifications:
35
36
  email:
    - pinocchio-build@laas.fr
jcarpent's avatar
jcarpent committed
37
branches:
38
39
40
41
42
43
  only:
    - master
    - debian
    - devel
before_install: ./.travis/run before_install
install: pip install coveralls numpy
jcarpent's avatar
jcarpent committed
44
45
46
47
48
script:
  - export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE}"
  - sudo free -m -t
  - ./.travis/run ../travis_custom/custom_build
after_failure: ./.travis/run after_failure
49
after_success: ./.travis/run after_success