2017-08-12 10:47:05 -03:00
|
|
|
sudo: required
|
2016-02-17 22:04:15 -04:00
|
|
|
language: cpp
|
2017-08-12 10:47:05 -03:00
|
|
|
python:
|
|
|
|
- '3.5'
|
2017-02-27 01:46:48 -04:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
compiler: gcc
|
2017-08-12 10:47:05 -03:00
|
|
|
env:
|
|
|
|
- MATRIX_EVAL=""
|
2017-02-27 01:46:48 -04:00
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
compiler: clang
|
2017-08-12 10:47:05 -03:00
|
|
|
env:
|
|
|
|
- CC=clang CXX=clang++
|
|
|
|
- MATRIX_EVAL=""
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
compiler: gcc
|
|
|
|
env:
|
|
|
|
- RUN_PYTEST=1
|
|
|
|
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
|
2016-02-17 22:04:15 -04:00
|
|
|
|
2017-08-12 10:47:05 -03:00
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
2017-09-14 05:02:54 -03:00
|
|
|
- sudo add-apt-repository ppa:deadsnakes/ppa -y # ppa with latest Python versions to Ubuntu 14.04
|
2017-08-12 10:47:05 -03:00
|
|
|
- sudo apt-get -qq update
|
2017-09-14 05:02:54 -03:00
|
|
|
- sudo apt-get install -y clang cmake g++ gcc libeigen3-dev swig3.0 python-dev gcc-5 g++-5 python3.5
|
2017-08-12 10:47:05 -03:00
|
|
|
- eval "${MATRIX_EVAL}"
|
|
|
|
- if [ -n "${RUN_PYTEST}" ]; then pip3 install -r ./EKF/tests/pytest/requirements.txt; fi
|
2016-02-17 22:04:15 -04:00
|
|
|
|
2016-04-27 06:37:23 -03:00
|
|
|
script: ./build.sh
|