summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorSean V Kelley <seanvk@posteo.de>2017-01-21 22:33:53 -0800
committerSean V Kelley <seanvk@posteo.de>2017-01-21 22:33:53 -0800
commit0e8abd316bee90f7e2a16e5c88f648499188a702 (patch)
tree72c19aec95f22dba8193cfbe4bdae2f03e94785a /.travis.yml
parent0426baf0a6e0559ec9af071b113460dfa547aef6 (diff)
downloadlibva-0e8abd316bee90f7e2a16e5c88f648499188a702.tar.gz
travis: Initial import of travis instructions
This is a simple port that does a build/install and check. Signed-off-by: Sean V Kelley <seanvk@posteo.de>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml51
1 files changed, 51 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f9d0dd6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,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}"