summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: f9d0dd6b7169dcc1d4a0cb1c21165e8d443d15e8 (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
dist: xenial
sudo: required

language: c
compiler: gcc
os: linux

env:
  global:
    - NUM_THREADS=4

addons:
	apt:
                packages:
                        - autoconf
                        - automake
                        - libtool
                        - m4
                        - perl
                        - pkg-config
                        - libdrm-dev
                        - libegl1-mesa-dev
                        - libgl1-mesa-dev
                        - libwayland-dev
                        - libx11-dev
                        - libxext-dev
                        - libxfixes-dev

script:
        - ./autogen.sh
        - ./configure --prefix=/usr
        - make -j4 ; sudo make install
        - make check

notifications:
# Emails are sent to the committer's git-configured email address by default,
# but only if they have access to the repository.  To enable Travis on your
# public fork of Caffe, just go to travis-ci.org and flip the switch on for
# your Caffe fork.  To configure your git email address, use:
#     git config --global user.email me@example.com
  email:
    on_success: always
    on_failure: always

# IRC notifications disabled by default.
# Uncomment next 5 lines to send notifications to chat.freenode.net#caffe
#   irc:
#     channels:
#       - "chat.freenode.net#intel-media"
#     template:
#       - "%{repository}/%{branch} (%{commit} - %{author}): %{message}"