-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* First attempt at a travi-ci automated build
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# 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=$PATH:$PWD/gnat-gpl-2016-x86_64-linux-bin/bin/ | ||
|
||
script: | ||
# Just build | ||
- ./support/reconfig && ./configure && make |
992970e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For issue #80