summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000000..f36092ffcaf
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,11 @@
+before_script:
+ - yes | sudo add-apt-repository ppa:ubuntu-toolchain-r/test
+ - sudo apt-get -qq update
+ - sudo apt-get install gcc-4.8 g++-4.8
+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.6
+ - sudo update-alternatives --set gcc /usr/bin/gcc-4.8
+ - sudo apt-get install libmcpp-dev libdb++-dev libdb-dev libdb-java libdb-java-dev ruby-dev python-dev php5-dev
+script:
+ - make
+ - python allTests.py