From bf49e58d1156edc78352e7d4f9998a2cbbe81268 Mon Sep 17 00:00:00 2001 From: Guilherme Espada Date: Tue, 19 Mar 2013 20:17:35 +0000 Subject: Add travis CI building. Uses GCC --- .travis.yml | 16 ++++++++++++++++ CMakeLists.txt | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..c94982f2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: cpp +compiler: + - gcc + +before_script: + - sudo apt-add-repository -y ppa:czchen/travis-ci + - sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa + - sudo add-apt-repository -y ppa:canonical-qt5-edgers/qt5-proper + - sudo apt-get update -yqq + - sudo apt-get install -yqq cmake + - sudo apt-get install -yqq ubuntu-sdk + +script: "cmake . && make -j4" + +notifications: + irc: "irc.esper.net#MultiMC" diff --git a/CMakeLists.txt b/CMakeLists.txt index cf6e1aab..cc71a7dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -382,3 +382,5 @@ SET(CPACK_PACKAGE_INSTALL_DIRECTORY "MultiMC 5") ENDIF() INCLUDE(CPack) + +include_directories(${PROJECT_BINARY_DIR}/include) -- cgit v1.2.3