OSDN Git Service

travis: Added preliminary travis yml file
[android-x86/hardware-intel-common-vaapi.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
12 before_install:
13   - pip install --user cpp-coveralls
14   - sudo apt-get -qq update
15   - sudo apt-get install -y build-essential
16   - sudo apt-get install -y autoconf
17   - sudo apt-get install -y automake
18   - sudo apt-get install -y libtool
19   - sudo apt-get install -y m4 
20   - sudo apt-get install -y lcov
21   - sudo apt-get install -y perl
22   - sudo apt-get install -y pkg-config
23   - sudo apt-get install -y libdrm-dev
24   - sudo apt-get install -y autoconf
25   - sudo apt-get install -y libegl1-mesa-dev
26   - sudo apt-get install -y libgl1-mesa-dev
27   - sudo apt-get install -y libwayland-dev
28   - sudo apt-get install -y libx11-dev
29   - sudo apt-get install -y libxext-dev
30   - sudo apt-get install -y libxfixes-dev
31   - sudo apt-get install -y libvda-dev
32   - sudo apt-get install -y intel-gpu-tools
33  
34 install:
35   - git clone https://github.com/01org/libva.git
36   - (cd libva && ./autogen.sh && ./configure --prefix=/usr && sudo make install)
37
38 script:
39         - ./autogen.sh
40         - ./configure --prefix=/usr
41         - make -j4 ; sudo make install
42         - make check
43
44 after_success:
45         - coveralls --exclude lib --exclude tests --gcov-options '\-lp'
46
47 notifications:
48 # Emails are sent to the committer's git-configured email address by default,
49 # but only if they have access to the repository.  To enable Travis on your
50 # public fork of Caffe, just go to travis-ci.org and flip the switch on for
51 # your Caffe fork.  To configure your git email address, use:
52 #     git config --global user.email me@example.com
53   email:
54     on_success: always
55     on_failure: always
56
57 # IRC notifications disabled by default.
58 # Uncomment next 5 lines to send notifications to chat.freenode.net#caffe
59 #   irc:
60 #     channels:
61 #       - "chat.freenode.net#intel-media"
62 #     template:
63 #       - "%{repository}/%{branch} (%{commit} - %{author}): %{message}"