Commit 41f64f3a authored by yoogx's avatar yoogx

* Add travis-ci

parent 0aaace68
# This script is adapted from https://github.com/AdaCore/Ada_Drivers_Library
# Thanks to AdaCore for providing it
# We are using Python 2.7 to run the testsuite
language: python
python:
- "2.7"
# Global variables
env:
global:
- TOOLS_DIR=$HOME/build_tools
- GNAT_TAR_PATH=$TOOLS_DIR/gnat-gpl-2016-x86_64-linux-bin.tar.gz
os:
- linux
# Cache directory that allows us to not download GNAT GPL every time, speeding
# up the process.
cache:
directories:
- $HOME/build_tools
install:
# Check if the GNAT package is already available in the cache directory. If
# not, download it.
- test -f $GNAT_TAR_PATH ||( mkdir -p $TOOLS_DIR && wget http://mirrors.cdn.adacore.com/art/5739cefdc7a447658e0b016b -O $GNAT_TAR_PATH)
# Extract GNAT from its package
- tar -xf $GNAT_TAR_PATH
# Add GNAT to $PATH
- export PATH=$PWD/gnat-gpl-2016-x86_64-linux-bin/bin/:$PATH
script:
# Show GNAT version for the record
- gcc --version
- gnatls -v
# Just build
#- ./support/reconfig && ./configure && make
- git clone https://github.com/OpenAADL/ocarina-build.git ; ( cd ocarina-build ; ./build_ocarina.sh --scenario=travis-ci )
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment