Skip to content

Commit

Permalink
Add continuous integration test, Travis-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
travis-r-wheatley authored and skliper committed Oct 1, 2019
1 parent cb1b4ad commit 28384bf
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
dist: xenial
sudo: required
language:
- c
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
- gcc-multilib
- g++-multilib

before_install:
# needed for compiling 32bit software on 64bit machine
- sudo apt-get install gcc-multilib g++-multilib cppcheck

script:
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib32/:/usr/lib/gcc/x86_64-linux-gnu/7/x32/
- ls /usr/lib32/
# Check versions of gcc, g++ and cmake
- gcc -v && g++ -v && cmake --version
# Run your build commands next
- git submodule init
- git submodule update
- cp cfe/cmake/Makefile.sample Makefile
- cp -r cfe/cmake/sample_defs sample_defs
- cppcheck --force .
- make prep
- make
- make install
- ls build/exe/cpu1/
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Auto build status: [![Build Status](https://travis-ci.com/travis-r-wheatley/cFS.svg?branch=master)](https://travis-ci.com/travis-r-wheatley/cFS)

# Core Flight System - BUNDLE

This repository is a bundle of submodules that make up the Core Flight System (cFS) framework. Note the "lab" apps are intended as examples only, and enable this bundle to build, execute, receive commands, and send telemetry. This is not a flight distribution, which is typically made up of the cFE, OSAL, PSP, and a selection of flight apps that coorespond to specific mission requirements.
Expand Down Expand Up @@ -135,3 +137,4 @@ The following list is user submitted, and not CCB controlled. They are released
- TBD
- Other PSPs
- TBD

0 comments on commit 28384bf

Please sign in to comment.