Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
f14c055b
Commit
f14c055b
authored
Jan 14, 2017
by
yoogx
Browse files
* Minor updates + attempt at addressing Python for OS X
parent
a0ba109f
Changes
1
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
f14c055b
# This script is adapted from https://github.com/AdaCore/Ada_Drivers_Library
################################################################################
# Ocarina travis-ci configuration file.
# This script compiles and test Ocarina for Linux and OS X targets
#
# Note: this travis-ci 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"
################################################################################
# Note: we are using Python to run Ocarina testsuite. We install a
# specific GNAT GPL release to compile and run everything.
language
:
generic
# Global variables
env
:
global
:
-
TOOLS_DIR=$HOME/build_tools
-
GNAT_TAR_PATH=$TOOLS_DIR/gnat-gpl-2016-
x86_64-linux-
bin.tar.gz
-
GNAT_TAR_PATH=$TOOLS_DIR/gnat-gpl-2016-bin.tar.gz
################################################################################
# Host to run the various tests
os
:
-
linux
-
osx
################################################################################
# Build only for the master branch
branches
:
only
:
-
master
################################################################################
# Cache directory that allows us to not download GNAT GPL every time, speeding
# up the process.
cache
:
directories
:
-
$HOME/build_tools
before_install
:
-
which python
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python --universal --framework
:
fi
install
:
# Check if the GNAT package is already available in the cache directory. If
# not, download it.
...
...
@@ -34,6 +56,9 @@ install:
# Add GNAT to $PATH
-
export PATH=$PWD/gnat-gpl-2016-x86_64-linux-bin/bin/:$PWD/gnat-gpl-2016-x86_64-darwin-bin/bin/:$PATH
################################################################################
# Main processing starts here
script
:
# Show GNAT version for the record
-
gcc --version
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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