"Fossies" - the Fresh Open Source Software Archive

Member "darktable-2.6.3/src/external/rawspeed/.travis.yml" (19 Oct 2019, 8922 Bytes) of package /linux/misc/darktable-2.6.3.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for ".travis.yml": 2.6.2_vs_2.6.3.

    1 notifications:
    2   irc:
    3     channels:
    4 #     - "chat.freenode.net#darktable"
    5       - secure: "Sl/eC6JEqTMm82H4TANoyngf2oq+TfZ7oiqh3iDqmq0+yNxhnmWGlg+NwhfwpBOoh6eDICoq0CpxOLhXEbNGnILYeHlTbycf41qOS5zP0fquVIgfQJOs6ZNNQWxRO8G1ydkpIl4nMuzix+Uxb09LKN4Ymf2ifLh892yYqwJpwnzyhDZamDa0dNKJuu5r1pzsfAKrLrrd8NnUO6EqUzFz5NjexCZ+wRMKdvkHSGSpQwQ52KonvjnqvFPy11D0f/fZdtNpP9qcalLFXduH0IEafDP82526ri6qcIekJQjgz3eWcrTTuFWI1NOUozIs/maOsLf8NYi8Ql17sw1WorlHZ4Ma48rTUPBEot+lzRk03K+vQaBmFccB9ys0wTVZa4wmmM1051tqsGH7S2ezx8rnULClrMvOLadHiG8JYKwfO5ZjrLRRMndbXH7mSJDKUPrUIMAEvGRDoMP1uqaFf6MFe3mtXv5ZUcaj2GrxF3OIxZtvFFhGZ8HlYInXTGCV2Yaf0NtODWPUKqOYRGzeqPmO6mPVPNcSAyt7YrAT2N4vXUg/+hIAmBfjq+78PpbCZZsZTh12YDbzHmj2TS8ZflciCAhfABxwV1LlVMXXEB3fEpfRsB7Ee1jSd6lrVGy3BAx4GST8NDdI5GVVNKUMtguA8nzDd9iZoq966NlWxYlROlI="
    6     skip_join: true
    7     template:
    8       - "%{repository}#%{build_number} (\x037%{branch}\x03 - \x02%{commit}\x02 : \x033%{author}\x03): \x1f\x02%{message}\x02\x1f"
    9       - "Build details : <%{build_url}>"
   10   email:
   11     recipients:
   12 #     - darktable-ci@lists.darktable.org
   13       - secure: "21/+N6QLMqeNojQjOQSooUi6bnHfy4doVO5xefDbpaaX/leFxP6PLv2yNL7d2lk0iwGRCitfbUqF0czmToTvZcE60EGttst5MnHUOyM8d9NR+dOZlVc8fsloIkiCC0nN575xSg5gwGFZmtG94wI0DQBiPQ4UDDPEDcim3c1OjQWn6o8Q4RmLSd65WJxioQRnNqOY0L+TN0T/Re7uIdri2swzNKC+bfdvpOV5Gef0yUPtzTF/0idq8pwwTJ0y8TGhIRDsNlyNdX3SI/TJiUFQDrwxPM1VidwK2FrST+HIYKC4O53KK2XbTN7+3jB0Wv7hdqZ6rzEanmPNRUmzOpbxqcDi8Kb/KJnBm9DkwaXJ1I1jEWdPOEYmoc4FUaA/7QZWtiQvIa1oDRHAQfEDjHJK1mm8z1esYDBrVHvx291DbKHv2AMzfqxrVG0DKG4piXNJMwDummU6SpekbbB5gXJ81dsQPJwOIpNUGax3aFq12sYHG6JSOdMAnzTvOL+WuHCsVnu2sR7LC8Y6kW03A+U/NP4kbbu4QQr4MLJRiE/t1Y14UiMuvz1K7X52V560oauWoGppB8/64EMm4P9SDxm0fosMaqCRmJduKU8pQlsNOnacQ10JlQkVYksXgnEWwrRYEtLSk3PVUf6awkRLES3UZDLSoepmVGRsttJnCAXZR3g="
   14     on_success: always
   15     on_failure: always
   16 
   17 language: generic
   18 
   19 before_install:
   20   - if [[ "$TARGET" == "WWW" && ("$TRAVIS_PULL_REQUEST" != "false" || "$TRAVIS_SECURE_ENV_VARS" != "true" || "$TRAVIS_BRANCH" != "develop") ]]; then
   21       exit;
   22     fi;
   23 
   24 install:
   25   - if [[ "$TRAVIS_OS_NAME" == "linux" && "$EXTRA" == "NODOCKER" ]]; then
   26       echo "oracle-java8-installer hold" | sudo dpkg --set-selections;
   27       echo "oracle-java9-installer hold" | sudo dpkg --set-selections;
   28       travis_retry sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y;
   29       travis_retry sudo apt-get update -q;
   30       travis_retry sudo apt-get install -y -q -f --fix-missing clang-3.5 clang-3.9 cmake g++-5 git libiomp-dev libjpeg-dev libpugixml-dev libxml2-utils make ninja-build zlib1g-dev;
   31     fi;
   32   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
   33       travis_retry brew update > /dev/null && brew tap Homebrew/bundle && cd .ci && brew bundle --verbose;
   34     fi;
   35   - if [[ "$TRAVIS_OS_NAME" == "linux" && "$FLAVOR" == "Coverage" ]]; then
   36       travis_retry sudo apt-get install -y -q -f --fix-missing rsync;
   37     fi;
   38   - if [[ "$TRAVIS_OS_NAME" == "linux" && "$EXTRA" != "NODOCKER" ]]; then
   39       travis_retry travis_wait 5 docker pull darktable/rawspeed;
   40     fi;
   41 
   42 before_script:
   43   - if [[ "$TRAVIS_OS_NAME" == "linux" && "$FLAVOR" == "Coverage" ]]; then
   44       travis_retry rsync -vvrLtW --preallocate --delete --compress --compress-level=1 --stats --progress rsync://raw.pixls.us/data-unique/ $HOME/$RPUU_DST && cd $HOME/$RPUU_DST && sha1sum -c --strict filelist.sha1;
   45     fi;
   46 
   47 env:
   48   global:
   49     # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
   50     #   via the "travis encrypt" command using the project repo's public key
   51     - secure: "rKETh/WScyiRebr6/7ex3FbMqgSL4gucYPj5Z0+F2UkOC+399MFuxHrZ744NwEPGjVvkL39btDVrViwmjp1BJraslQnuPJ8LS7DaVIQQJKnh/pLF8/BclcbGecXrIbSSAtgy3hwKp8N08DXpmyiyaLXsDrPE3/0Oz8JqT9n8b2nzkLDscJSjX73Gp+4DZiUsVzGYYsHq+1k7YbG0xEFrC0OVU3EyHN/bkOepLYUkEKuPj5yi/nRnHLt/1lVdHWBmvELezXnGfuDeGZGb8TbKDTCsv0sscKFDEzK2kzwpAIZbksBHVIcQS8cqcpx48LkvybXOc0vlrS+jMvSUDKAY62+JDZHZd3hCjSIMFVL9bf9b+7gMeevTMKJfLEe9Ro8bHITrKmy0S1Z+mozxdAkESjmFklKgkHBW72T8ttfz33R30Fr87dP9cRwlX2tiU06o8N13228Mh4vr4Cy1S342OOpnf+aw5pq0EydT1eVhjB+B6kmpGinTWbDNtInir2H0w0GlW1VHDZGWqEIB66Nq9aV7ugOBE6b2nsDmBgLS8Xk9OELnRLq2y51Z9nsVq0EnH4td+ciSDPulY9TuUbvBSioMTs8igArM10NFX3+NE13Nla0QiEp1sCKNgxouh5pfkTgmdRL4sQ0MWDPa/c85BaPBF+3xazbI8jZkB19QHKc="
   52     - SRC_DIR=/build/rawspeed
   53     - BUILD_DIR=/build/rawspeed-build
   54     - INSTALL_PREFIX=/build/rawspeed-install
   55     - CFLAGS="-pipe" CXXFLAGS="-pipe"
   56     - TARGET=build
   57     - RPUU_DST="raw-camera-samples/raw.pixls.us-unique/"
   58     - DOCKER_RPUU="--volume $HOME/$RPUU_DST:/root/$RPUU_DST:ro"
   59 
   60 jobs:
   61   fast_finish: true
   62   include:
   63   - stage: test
   64     os: linux
   65     dist: trusty
   66     sudo: required
   67     services:
   68       - docker
   69     env: CC=gcc-9 CXX=g++-9
   70   - stage: test
   71     os: linux
   72     dist: trusty
   73     sudo: required
   74     services:
   75       - docker
   76     env: CC=gcc-9 CXX=g++-9 ECO="-DWITH_OPENMP=OFF"
   77   - os: linux
   78     dist: trusty
   79     sudo: required
   80     services:
   81       - docker
   82     env: CC=clang-9 CXX=clang++-9
   83   - os: linux
   84     dist: trusty
   85     sudo: required
   86     services:
   87       - docker
   88     env: CC=gcc-9 CXX=g++-9 GCOV=gcov-9 FLAVOR=Coverage ECO="-DRAWSPEED_ENABLE_SAMPLE_BASED_TESTING=ON" EXTRA_OPTS="$DOCKER_RPUU"
   89     cache:
   90       directories:
   91         - '$HOME/$RPUU_DST'
   92   - os: osx
   93     osx_image: xcode10
   94     env: CC=cc CXX=c++ ECO="-DWITH_OPENMP=OFF"
   95   #- os: osx
   96   #  env: CC=cc CXX=c++ FLAVOR=Coverage
   97   - os: linux
   98     dist: trusty
   99     sudo: required
  100     services:
  101       - docker
  102     # Don't forget to ensure that FindLLVMClangTidy.cmake is also bumped
  103     env: CC=clang-9 CXX=clang++-9 TARGET=STATICANALYSIS ECO="-DUSE_CLANG_TIDY=ON"
  104   - os: linux
  105     dist: trusty
  106     sudo: required
  107     services:
  108       - docker
  109     env: CC=clang-9 CXX=clang++-9 ECO="-DWITH_OPENMP=OFF"
  110   - os: linux
  111     dist: trusty
  112     sudo: required
  113     env: CC=gcc-5 CXX=g++-5 EXTRA=NODOCKER
  114   - os: linux
  115     dist: trusty
  116     sudo: required
  117     env: CC=clang-3.5 CXX=clang++-3.5 EXTRA=NODOCKER ECO="-DWITH_OPENMP=OFF"
  118   - os: linux
  119     dist: trusty
  120     sudo: required
  121     env: CC=clang-3.9 CXX=clang++-3.9 EXTRA=NODOCKER
  122   #- stage: deploy
  123   #  os: linux
  124   #  sudo: required
  125   #  dist: xenial
  126   #  edge: true
  127   #  services:
  128   #    - docker
  129   - stage: deploy
  130     os: linux
  131     dist: trusty
  132     sudo: required
  133     services:
  134       - docker
  135     env: CC=clang-9 CXX=clang++-9 TARGET=WWW
  136 
  137 # linux clang Coverage build OOM's in gcov during final codecov report collection
  138 # OSX gcc Coverage build produces invalid .gcno files
  139 
  140 script:
  141   - set -e
  142   - if [[ ("$TRAVIS_OS_NAME" == "linux" && "$EXTRA" == "NODOCKER") || "$TRAVIS_OS_NAME" == "osx" ]]; then
  143       export SRC_DIR="$TRAVIS_BUILD_DIR";
  144       export BUILD_DIR="$SRC_DIR/build";
  145       export INSTALL_PREFIX="$SRC_DIR/install";
  146       export ECO="$ECO -DALLOW_DOWNLOADING_GOOGLETEST=ON";
  147       mkdir "$BUILD_DIR";
  148       mkdir "$INSTALL_PREFIX";
  149       "$SRC_DIR/.ci/ci-script.sh";
  150     fi;
  151   - if [[ "$TRAVIS_OS_NAME" == "linux" && "$EXTRA" != "NODOCKER"  ]]; then
  152       mkdir "$TRAVIS_BUILD_DIR/build";
  153       if [[ "$TARGET" == "WWW" ]]; then
  154         export BUILD_DIR="$SRC_DIR/build";
  155       fi;
  156       if [[ "$TARGET" == "WWW" && "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_SECURE_ENV_VARS" == "true" && "$TRAVIS_BRANCH" == "develop" ]]; then
  157         "$TRAVIS_BUILD_DIR/.ci/www-prepare.sh";
  158       fi;
  159 
  160       export TARGET2="$TARGET";
  161       export CMD="$SRC_DIR/.ci/ci-script.sh";
  162       if [[ "$TARGET" == "STATICANALYSIS" ]]; then
  163         export TARGET="build";
  164         export CMD="scan-build-9 --use-cc=\"$CC\" --use-c++=\"$CXX\" --force-analyze-debug-code --status-bugs -disable-checker deadcode.DeadStores $CMD";
  165       fi;
  166 
  167       docker run --read-only --tmpfs /tmp --volume $TRAVIS_BUILD_DIR:$SRC_DIR:ro --volume "$TRAVIS_BUILD_DIR/build":$BUILD_DIR --workdir $BUILD_DIR --tmpfs $INSTALL_PREFIX $EXTRA_TMPFS $EXTRA_OPTS --env CC --env CXX --env GCOV --env CFLAGS --env CXXFLAGS --env SRC_DIR --env BUILD_DIR --env INSTALL_PREFIX --env TARGET --env FLAVOR --env ECO darktable/rawspeed sh -c "$CMD";
  168 
  169       export TARGET="$TARGET2";
  170     fi;
  171 
  172 after_success:
  173   - if [[ "$FLAVOR" == "Coverage" ]]; then
  174       cd "$TRAVIS_BUILD_DIR";
  175       curl -s https://codecov.io/bash > codecov;
  176       chmod +x codecov;
  177       export PLATFORM="$TRAVIS_OS_NAME";
  178       if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
  179         if [[ "$CC" == "cc" ]]; then
  180           export CXX=GCC;
  181         fi;
  182       elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
  183         export CXX=AppleClang;
  184       fi;
  185       ./codecov -e PLATFORM,CXX -F unittests -X gcov -s "$TRAVIS_BUILD_DIR/build/gcov-reports-unittest" -Z;
  186       if [[ "$TRAVIS_OS_NAME" == "linux" && "$FLAVOR" == "Coverage" ]]; then
  187         ./codecov -e PLATFORM,CXX -F integration,rpu_u -X gcov -s "$TRAVIS_BUILD_DIR/build/gcov-reports-rsa" -Z;
  188       fi;
  189     fi;
  190   - if [[ "$TRAVIS_OS_NAME" == "linux" && "$TARGET" == "WWW" && "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_SECURE_ENV_VARS" == "true" && "$TRAVIS_BRANCH" == "develop" ]]; then
  191       "$TRAVIS_BUILD_DIR/.ci/www-finish.sh";
  192     fi;