6 - george-edison55-precise-backports # cmake
17 - CMAKE_BUILD_TYPE=Release
18 - CMAKE_BUILD_TYPE=Coverage
21 - if [[ "$TRAVIS_OS_NAME" == "osx" ]];
23 for pkg in gcc cmake; do
24 if brew list -1 | grep -q "^${pkg}\$"; then
25 brew outdated $pkg || brew upgrade $pkg;
33 - export PR=https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST
34 - export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo `curl -s $PR | jq -r .head.ref`; fi)
35 - echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH"
36 - export SRC_DIR=$(pwd)
37 - export BLD_DIR=${SRC_DIR}/lapack-travis-bld
38 - export INST_DIR=${SRC_DIR}/../lapack-travis-install
41 # See issue #17 on github dashboard. Once resolved, use -DCBLAS=ON
42 # - cmake -DCMAKE_INSTALL_PREFIX=${INST_DIR} -DLAPACKE=ON ${SRC_DIR}
43 - cmake -DBUILDNAME:STRING="travis-${TRAVIS_OS_NAME}-${BRANCH}"
44 -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
45 -DCMAKE_INSTALL_PREFIX=${INST_DIR}
49 -DLAPACKE_WITH_TMG:BOOL=ON
51 - ctest -D ExperimentalStart
52 - ctest -D ExperimentalConfigure
53 - ctest -D ExperimentalBuild -j2
54 - ctest -D ExperimentalTest --schedule-random -j2 --output-on-failure --timeout 100
55 - ctest -D ExperimentalSubmit
57 - if [[ "$CMAKE_BUILD_TYPE" == "Coverage" ]];
61 bash <(curl -s https://codecov.io/bash) -X gcov;