File: .travis.yml

package info (click to toggle)
perceptualdiff 1.2-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,008 kB
  • ctags: 76
  • sloc: cpp: 948; sh: 100; makefile: 50
file content (29 lines) | stat: -rw-r--r-- 660 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: cpp

compiler:
    - clang
    - gcc

before_script:
    - sudo apt-get update --quiet=2
    - sudo apt-get --quiet=2 install cmake libfreeimage-dev cppcheck valgrind

env:
    -
    - EXTRA_CMAKE_FLAGS='-DOPTIMIZATION=FALSE'
    - OMP_NUM_THREADS=1
    - OMP_NUM_THREADS=4

script:
    - cppcheck --error-exitcode=2 .
    - cmake "$EXTRA_CMAKE_FLAGS" .
    - make VERBOSE=1 check
    - ./memcheck.bash
    - bash -c './perceptualdiff | grep -i openmp'

after_success:
    - sudo pip install git+https://github.com/myint/cpp-coveralls
    - if [ "$CC" == "gcc" ]; then ./coveralls.bash; fi

    # Ignore header files in a stupid way.
    - rm -f *.h