.travis.yml 1.39 KB
Newer Older
1
language: generic
2
python:
3
  - "2.7"
olivier stasse's avatar
olivier stasse committed
4
sudo: required
5
dist: trusty
6
compiler:
7
  - gcc
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
    - CC=gcc
16
17
  matrix:
    # - BUILDTYPE=Release
18
19
    # - BUILDTYPE=Debug
    - BUILDTYPE=Minsizerel
20
21
notifications:
email:
22
  - hpp-source@laas.fr
23
24
branches:
only:
25
26
27
  - master
  - debian
  - devel
28
29
matrix:
allow_failures:
30
31
32
33
  - compiler:
before_install: ./travis_custom/custom_before_install
install:
  - pip install --user coveralls
34
  - pip install --user numpy
35
36
script:
  - export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE}"
37
  - sudo free -m -t
jcarpent's avatar
jcarpent committed
38
  - travis_wait 60 ./.travis/run ../travis_custom/custom_build
39
after_failure: ./.travis/run after_failure
40
41
42
43
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
44
  - export PYTHONPATH=$PYHTONPATH:/tmp/_ci/install/lib/python2.7/site-packages:/usr/lib/python2.7/dist-packages
45
  - coveralls-lcov -v -n /tmp/_ci/build/coverage.info > coverage.json
46
  - coverage2 run ./python/tests.py
47
  - coveralls --merge=coverage.json