Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Ocarina
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
Ocarina
Commits
992970e6
Commit
992970e6
authored
Dec 25, 2016
by
yoogx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* First attempt at a travi-ci automated build
parent
62957504
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
.travis.yml
.travis.yml
+36
-0
No files found.
.travis.yml
0 → 100644
View file @
992970e6
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment