summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorerouault <erouault>2017-06-08 20:46:10 +0000
committererouault <erouault>2017-06-08 20:46:10 +0000
commitfdaf2a74b1e55a25466370023c800eab026a43be (patch)
tree197e011b7d4d307fe31f41a2507b6401440eb128 /.travis.yml
parent779454a3d528fe1a97aaca7f1784f10eaa183a3c (diff)
downloadlibtiff-fdaf2a74b1e55a25466370023c800eab026a43be.tar.gz
* .travis.yml, build/travis-ci: new files from
0001-ci-Add-Travis-support-for-Linux-builds-with-Autoconf.patch by Roger Leigh (sent to mailing list on 2017-06-08) This patch adds support for the Travis-CI service. * .appveyor.yml: new file from 0002-ci-Add-AppVeyor-support.patch by Roger Leigh (sent to mailing list on 2017-06-08) This patch adds a .appveyor.yml file to the top-level. This allows one to opt in to having a branch built on Windows with Cygwin, MinGW and MSVC automatically when a branch is pushed to GitHub, GitLab, BitBucket or any other supported git hosting service. * CMakeLists.txt, test/CMakeLists.txt, test/TiffTestCommon.cmake: apply patch 0001-cmake-Improve-Cygwin-and-MingGW-test-support.patch from Roger Leigh (sent to mailing list on 2017-06-08) This patch makes the CMake build system support running the tests with MinGW or Cygwin.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..9b371162
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,31 @@
+language: c
+
+sudo: false
+dist: trusty
+
+cache:
+ directories:
+ - download
+
+addons:
+ apt_packages:
+ - libjpeg8-dev
+ - libjbig-dev
+ - liblzma-dev
+ - zlib1g-dev
+
+compiler:
+ - gcc
+ - clang
+
+env:
+ matrix:
+ - BUILD=autoconf
+ - BUILD=cmake TOOL="Unix Makefiles" TYPE=Release
+ - BUILD=cmake TOOL="Ninja" TYPE=Release
+
+matrix:
+ fast_finish: true
+
+script:
+ - ./build/travis-ci "$BUILD" "$TOOL" "$TYPE"