px4-firmware/.travis.yml

37 lines
932 B
YAML
Raw Normal View History

sudo: required
2016-02-17 22:04:15 -04:00
language: cpp
python:
- '3.5'
matrix:
fast_finish: true
include:
- os: linux
dist: trusty
compiler: gcc
env:
- MATRIX_EVAL=""
- os: linux
dist: trusty
compiler: clang
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
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository ppa:deadsnakes/ppa -y # ppa with latest Python versions to Ubuntu 14.04
- sudo apt-get -qq update
- sudo pip install --egg pyenv
- sudo apt-get install -y clang cmake g++ gcc libeigen3-dev swig3.0 python-dev gcc-5 g++-5 python3.5
- pyenv shell 3.5
- 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