summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..59e6802
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,40 @@
+language: c
+
+sudo: required
+dist: trusty
+
+compiler:
+ - gcc
+
+env:
+ - MAKE_CHECK="gcrypt"
+ - MAKE_CHECK="openssl"
+ - MAKE_CHECK="kernel"
+
+branches:
+ only:
+ - master
+ - wip-luks2
+ - v2_0_x
+
+before_install:
+ - uname -a
+ - $CC --version
+ - which $CC
+ # workaround clang not system wide, fail on sudo make install
+ - export CC=`which $CC`
+ # workaround travis-ci issue #5301
+ - unset PYTHON_CFLAGS
+
+install:
+ - source ./.travis-functions.sh
+ - travis_install_script
+
+before_script:
+ - travis_before_script
+
+script:
+ - travis_script
+
+after_script:
+ - travis_after_script