summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml28
-rw-r--r--README.md2
2 files changed, 29 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..842f6b9d
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,28 @@
+language: cpp
+compiler:
+ - gcc
+cache: apt
+before_install:
+ - sudo apt-add-repository -y ppa:beineri/opt-qt521
+ - sudo apt-add-repository -y ppa:kalakris/cmake
+ - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
+ - sudo apt-get update -qq
+install:
+ - sudo apt-get install -y -qq cmake qt52base qt52svg qt52tools qt52x11extras
+ - if [ "$CXX" = "g++" ]; then sudo apt-get install -y -qq g++-4.8; fi
+ - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
+before_script:
+ - mkdir build
+ - cd build
+ - cmake -DCMAKE_PREFIX_PATH=/opt/qt52/lib/cmake ..
+script:
+ - make -j4
+after_script:
+ - make test
+notifications:
+ irc:
+ channels:
+ - "irc.esper.net#MultiMC"
+ template:
+ - "%{build_number} (%{branch} - %{commit} : %{author}): %{message} (%{build_url})"
+ email: false
diff --git a/README.md b/README.md
index 227f0731..8a5fe570 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
![MultiMC](http://i.imgur.com/QJXbz.png)
-MultiMC 5
+MultiMC 5 [![Build Status](https://travis-ci.org/MultiMC/MultiMC5.svg?branch=develop)](https://travis-ci.org/MultiMC/MultiMC5)
=========
MultiMC is a custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once. It also allows you to easily install and remove mods by simply dragging and dropping.