OSDN Git Service

va.h: fix comments error for arbitrary number of MBs per slice.
[android-x86/hardware-intel-common-libva.git] / .travis.yml
1 dist: xenial
2 sudo: required
3
4 language: c
5 compiler: gcc
6 os: linux
7
8 env:
9   global:
10     - NUM_THREADS=4
11     # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
12     #   via the "travis encrypt" command using the project repo's public key
13     - secure: "Eu+ys+LW614J1wU1+i2qpfbSq9gFPvPq09XBgkK2hkDIEuouOX+G4ydpqc7Wg7+pv/P38KiUdbyoJtPxryvlwFYmuL/MEHPzjqVmxHuS0TpqwYE7Fh/44d/N9slGjD9Iv//pbabVrcrTptuJIRwH76GVsmec564uXd+yZGlR0c0="
14
15
16 before_install:
17   - test "${TRAVIS_BRANCH}" != 'coverity_scan' -o "${TRAVIS_JOB_NUMBER##*.}" = '1' || exit 0
18   - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
19   - pip install --user cpp-coveralls
20   - sudo apt-get -qq update
21   - sudo apt-get install -y build-essential
22   - sudo apt-get install -y autoconf
23   - sudo apt-get install -y automake
24   - sudo apt-get install -y libtool
25   - sudo apt-get install -y m4 
26   - sudo apt-get install -y lcov
27   - sudo apt-get install -y perl
28   - sudo apt-get install -y pkg-config
29   - sudo apt-get install -y libdrm-dev
30   - sudo apt-get install -y autoconf
31   - sudo apt-get install -y libegl1-mesa-dev
32   - sudo apt-get install -y libgl1-mesa-dev
33   - sudo apt-get install -y libwayland-dev
34   - sudo apt-get install -y libx11-dev
35   - sudo apt-get install -y libxext-dev
36   - sudo apt-get install -y libxfixes-dev
37
38 addons:
39   coverity_scan:
40     project:
41       name: "01org/libva"
42       description: "Build submitted via Travis CI"
43     notification_email: intel-media-security@lists.01.org
44     build_command_prepend: "./autogen.sh; ./configure --prefix=/usr"
45     build_command:  "make -j4"
46     branch_pattern: coverity_scan
47
48 script:
49   - if [[ "${COVERITY_SCAN_BRANCH}" == 1 ]];
50       then
51         echo "Don't build on coverty_scan branch.";
52         exit 0;
53     fi
54   - ./autogen.sh
55   - ./configure --prefix=/usr
56   - make -j4 ; sudo make install
57   - make check
58
59 after_success:
60         - coveralls --exclude lib --exclude tests --gcov-options '\-lp'
61
62 notifications:
63 # Emails are sent to the committer's git-configured email address by default,
64 # but only if they have access to the repository.  To enable Travis on your
65 # public project, just go to travis-ci.org and flip the switch on for
66 # your project.  To configure your git email address, use:
67 #     git config --global user.email me@example.com
68   email:
69     on_success: always
70     on_failure: always
71
72 # Slack notifications
73 #
74   slack: intel-media:p0wZO3fWJ1ouSsF0RNKbOl5G
75
76 # IRC notifications disabled by default.
77 # Uncomment next 5 lines to send notifications to chat.freenode.net#caffe
78 #   irc:
79 #     channels:
80 #       - "chat.freenode.net#intel-media"
81 #     template:
82 #       - "%{repository}/%{branch} (%{commit} - %{author}): %{message}"