OSDN Git Service

Merge pull request #5 from seanvk/upstream
[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
12 before_install:
13   - sudo apt-get -qq update
14   - sudo apt-get install -y build-essential
15   - sudo apt-get install -y autoconf
16   - sudo apt-get install -y automake
17   - sudo apt-get install -y libtool
18   - sudo apt-get install -y m4 
19   - sudo apt-get install -y perl
20   - sudo apt-get install -y pkg-config
21   - sudo apt-get install -y libdrm-dev
22   - sudo apt-get install -y autoconf
23   - sudo apt-get install -y libegl1-mesa-dev
24   - sudo apt-get install -y libgl1-mesa-dev
25   - sudo apt-get install -y libwayland-dev
26   - sudo apt-get install -y libx11-dev
27   - sudo apt-get install -y libxext-dev
28   - sudo apt-get install -y libxfixes-dev
29   
30 script:
31         - ./autogen.sh
32         - ./configure --prefix=/usr
33         - make -j4 ; sudo make install
34         - make check
35
36 notifications:
37 # Emails are sent to the committer's git-configured email address by default,
38 # but only if they have access to the repository.  To enable Travis on your
39 # public fork of Caffe, just go to travis-ci.org and flip the switch on for
40 # your Caffe fork.  To configure your git email address, use:
41 #     git config --global user.email me@example.com
42   email:
43     on_success: always
44     on_failure: always
45
46 # IRC notifications disabled by default.
47 # Uncomment next 5 lines to send notifications to chat.freenode.net#caffe
48 #   irc:
49 #     channels:
50 #       - "chat.freenode.net#intel-media"
51 #     template:
52 #       - "%{repository}/%{branch} (%{commit} - %{author}): %{message}"