Package list ciftilib / fresh-snapshots/main .travis.yml
fresh-snapshots/main

Tree @fresh-snapshots/main (Download .tar.gz)

.travis.yml @fresh-snapshots/mainraw · history · blame

os: linux
arch:
 - amd64
 - ppc64le
 
language: cpp
sudo: false

cache:
    - apt
    - ccache

addons:
    apt:
        packages:
            - libqt4-dev
            - libxml++2.6-dev
            - libboost-dev
            - libboost-filesystem-dev
            - zlib1g-dev

compiler:
    - clang
    - gcc

env:
    matrix:
        - IGNORE_QT=false SHARED=true
        - IGNORE_QT=false SHARED=false
        - IGNORE_QT=true SHARED=true
        - IGNORE_QT=true SHARED=false

before_install:
    - mkdir ../build
    - cd ../build

script:
    - cmake -D CMAKE_CXX_FLAGS="-W -Wall -Wno-narrowing" -D BUILD_SHARED_LIBS:BOOL=$SHARED -D IGNORE_QT:BOOL=$IGNORE_QT ../CiftiLib
    - export LD_LIBRARY_PATH=$(if [[ $CXX == "clang++" ]]; then echo -n '/usr/local/clang/lib'; fi)
    - make -j 4
    - example/xmlinfo ../CiftiLib/example/data/ones.dscalar.nii
    - ctest