[Libclc-dev] [PATCH 1/1] Add travis CI configuration file
Jan Vesely via Libclc-dev
libclc-dev at lists.llvm.org
Mon Sep 18 14:36:34 PDT 2017
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
Given that llvm is preparing to move repos to git/github, this looked useful
.travis.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 .travis.yml
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..3625fea
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,44 @@
+language: cpp
+
+sudo: false
+dist: trusty
+
+cache:
+ apt: true
+
+
+matrix:
+ include:
+ - env:
+ - LABEL="make gcc LLVM-4.0"
+ - LLVM_VERSION=4.0
+ - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
+ addons:
+ apt:
+ sources:
+ - llvm-toolchain-trusty-4.0
+ packages:
+ - libedit-dev
+ - g++-4.8
+ # From sources above
+ - llvm-4.0-dev
+ - clang-4.0
+ - env:
+ # NOTE: Analogous to SWR above, building Clover is quite slow.
+ - LABEL="make gcc LLVM-5.0"
+ - LLVM_VERSION=5.0
+ - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
+ addons:
+ apt:
+ sources:
+ - llvm-toolchain-trusty-5.0
+ packages:
+ - libedit-dev
+ - g++-4.8
+ # From sources above
+ - llvm-5.0-dev
+ - clang-5.0
+ - libclang-5.0-dev
+
+script:
+ - $PYTHON ./configure.py --with-llvm-config=$LLVM_CONFIG --with-cxx-compiler=$CXX && make -j4
--
2.13.5
More information about the Libclc-dev
mailing list