summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-08-20 18:18:08 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-08-20 18:18:08 +0200
commita341419b047bd76cc3572f5d3906500a7112e202 (patch)
tree1dd7ee5497546420714dc673f48078a4565198d0 /.travis.yml
parentMerge pull request #2379 from cuberite/hunger (diff)
parentUse container-based infrastructure for Travis (diff)
downloadcuberite-a341419b047bd76cc3572f5d3906500a7112e202.tar
cuberite-a341419b047bd76cc3572f5d3906500a7112e202.tar.gz
cuberite-a341419b047bd76cc3572f5d3906500a7112e202.tar.bz2
cuberite-a341419b047bd76cc3572f5d3906500a7112e202.tar.lz
cuberite-a341419b047bd76cc3572f5d3906500a7112e202.tar.xz
cuberite-a341419b047bd76cc3572f5d3906500a7112e202.tar.zst
cuberite-a341419b047bd76cc3572f5d3906500a7112e202.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
+