summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-07-22 00:40:13 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-08-20 17:15:55 +0200
commit5751ba0c1c774d69512cad2bd2c17e40b03af31a (patch)
tree3efe3615509589c8c6360aae490b55c54e4b8d55 /.travis.yml
parentMerge pull request #2391 from SamJBarney/CropGrowthFix (diff)
downloadcuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar.gz
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar.bz2
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar.lz
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar.xz
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar.zst
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.zip
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 9 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index e39cdbc14..d5305f601 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,20 +1,17 @@
language: cpp
+sudo: false
compiler:
- clang
- gcc
-before_install:
- - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- - sudo apt-get update -qq
-
-install:
- - sudo apt-get install -qq g++-4.8
- - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
-
- # lua, needed for style checking and possibly later on for bindings generation
- - sudo apt-get install -qq lua5.1
+addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-4.8
+ - lua5.1
script: ./CIbuild.sh
@@ -26,3 +23,4 @@ notifications:
email:
on_success: change
on_failure: always
+