aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Trangoni <mjtrangoni@gmail.com>2017-12-31 17:00:43 +0100
committerMario Trangoni <mjtrangoni@gmail.com>2018-03-01 20:56:13 +0100
commite1ad1d473f1ff3cdded80879398beb45422c2158 (patch)
treeac11357125801c9f1ae3ddb615b57ab283b7f0a0
parenta5a0a5c29bf7c1d1e346b5813e6696a5f0522136 (diff)
downloadnx-libs-e1ad1d473f1ff3cdded80879398beb45422c2158.tar.gz
nx-libs-e1ad1d473f1ff3cdded80879398beb45422c2158.tar.bz2
nx-libs-e1ad1d473f1ff3cdded80879398beb45422c2158.zip
Add travis yaml configuration file
-rw-r--r--.travis.yml56
1 files changed, 56 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..f8806d063
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,56 @@
+# Use new trusty images, should yield newer compilers and packages
+sudo: true
+dist: trusty
+language: cpp
+
+matrix:
+ include:
+ - os: linux
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-4.9
+ env:
+ - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
+
+ - os: linux
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-7
+ env:
+ - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
+
+ - os: linux
+ addons:
+ apt:
+ sources:
+ - llvm-toolchain-trusty-3.9
+ packages:
+ - clang-3.9
+ env:
+ - MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9"
+
+ - os: linux
+ addons:
+ apt:
+ sources:
+ - llvm-toolchain-trusty-5.0
+ packages:
+ - clang-5.0
+ env:
+ - MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
+
+before_install:
+ - sudo apt-get update -qq
+ # imake
+ - sudo apt-get install -y xutils-dev
+ # X11 libaries
+ - sudo apt-get install -y libxcomposite-dev libxfont-dev libxinerama-dev libxrandr-dev libxtst-dev x11proto-fonts-dev
+ - eval "${MATRIX_EVAL}"
+script:
+ - make