summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml84
1 files changed, 84 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f2095d0
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,84 @@
+sudo: required
+language: c
+addons:
+ apt:
+ packages:
+ - tcl-dev
+ - libx11-dev
+matrix:
+ include:
+ - os: linux
+ dist: trusty
+ compiler: clang
+ env:
+ - BUILD_DIR=unix
+ - os: linux
+ dist: trusty
+ compiler: clang
+ env:
+ - CFGOPT=--disable-shared
+ - BUILD_DIR=unix
+ - os: linux
+ dist: trusty
+ compiler: gcc
+ env:
+ - BUILD_DIR=unix
+ - os: linux
+ dist: trusty
+ compiler: gcc
+ env:
+ - CFGOPT=--disable-shared
+ - BUILD_DIR=unix
+ - os: linux
+ dist: trusty
+ compiler: gcc-4.9
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-4.9
+ env:
+ - BUILD_DIR=unix
+ - os: linux
+ dist: trusty
+ compiler: gcc-5
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-5
+ env:
+ - BUILD_DIR=unix
+ - os: linux
+ dist: trusty
+ compiler: gcc-6
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-6
+ env:
+ - BUILD_DIR=unix
+ - os: linux
+ dist: trusty
+ compiler: gcc-7
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-7
+ env:
+ - BUILD_DIR=unix
+before_install:
+ - export ERROR_ON_FAILURES=1
+ - cd ${BUILD_DIR}
+install:
+ - test -n "$NO_DIRECT_CONFIGURE" || ./configure ${CFGOPT}
+script:
+ - make
+ # The styles=develop avoids some weird problems on OSX
+ #- test -n "$NO_DIRECT_TEST" || make test styles=develop