aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTsuda Kageyu <tsuda.kageyu@gmail.com>2015-07-31 09:02:32 +0900
committerTsuda Kageyu <tsuda.kageyu@gmail.com>2015-07-31 09:06:24 +0900
commit3142330bee02d4de6e9e3d7d7b7a73cfafad6ea0 (patch)
treef4316e7f54fc815cef1c26c19fdcb301e2fb5cea /.travis.yml
parent9b849c5da8755519bc3db0fb2aeac00dfeb5b23d (diff)
Remove sudo from .travis.yml.
This allows our tests to run faster on the container-based infrastructure.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 76e58336..b526e274 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,12 @@
language: cpp
+sudo: false
compiler:
- gcc
- clang
-install: sudo apt-get install libcppunit-dev zlib1g-dev
+addons:
+ apt:
+ packages:
+ - libcppunit-dev
+ - zlib1g-dev
script: cmake -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON . && make && make check