diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..c94982f23 --- /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 cf6e1aab1..cc71a7dc0 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)