mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
81 lines
2.0 KiB
YAML
81 lines
2.0 KiB
YAML
language: cpp
|
|
|
|
cache:
|
|
directories:
|
|
- ci-scripts/local
|
|
|
|
matrix:
|
|
include:
|
|
- os: osx
|
|
osx_image: xcode7.2
|
|
compiler: clang
|
|
- os: osx
|
|
osx_image: xcode7.2
|
|
compiler: gcc
|
|
env: VERSION=-5
|
|
- compiler: gcc
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-4.9
|
|
- libgsl0-dev
|
|
- flex
|
|
- bison
|
|
env: VERSION=-4.9
|
|
- compiler: gcc
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-5
|
|
- libgsl0-dev
|
|
- flex
|
|
- bison
|
|
env: VERSION=-5
|
|
- compiler: clang
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- llvm-toolchain-precise-3.6
|
|
packages:
|
|
- clang-3.6
|
|
- libgsl0-dev
|
|
- flex
|
|
- bison
|
|
env: VERSION=-3.6
|
|
- compiler: clang
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- llvm-toolchain-precise-3.7
|
|
packages:
|
|
- clang-3.7
|
|
- libgsl0-dev
|
|
- flex
|
|
- bison
|
|
env: VERSION=-3.7
|
|
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bison flex; export PATH="/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH"; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc5; fi
|
|
|
|
install:
|
|
- export LATDIR=`pwd`
|
|
- export CC=$CC$VERSION
|
|
- export CXX=$CXX$VERSION
|
|
- cd ci-scripts
|
|
- ./install-deps.sh `pwd`/local
|
|
- cd ..
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export LD_LIBRARY_PATH=${LATDIR}/ci-scripts/local/lib:$LD_LIBRARY_PATH; fi
|
|
|
|
script:
|
|
- cd ci-scripts
|
|
- ./install-latan.sh `pwd`/local $TRAVIS_OS_NAME
|