summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-03 21:08:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-03 21:08:14 (GMT)
commit19864dca1d60859c5428554215450a8e7e54f947 (patch)
treecdb7b8cc5f707ac0b2e7e9e8600c31732d78ac03 /.travis.yml
parent0c4227b6cc6e9716ddd086a75e45c4e9373fa51b (diff)
downloadtk-19864dca1d60859c5428554215450a8e7e54f947.zip
tk-19864dca1d60859c5428554215450a8e7e54f947.tar.gz
tk-19864dca1d60859c5428554215450a8e7e54f947.tar.bz2
Let's see if we can build something with Travis-CI
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