]> granicus.if.org Git - libevent/commitdiff
travis-ci: install cmake from xenial (CTEST_PARALLEL_LEVEL support)
authorAzat Khuzhin <a3at.mail@gmail.com>
Fri, 20 Jan 2017 13:50:04 +0000 (16:50 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Sun, 22 Jan 2017 00:22:27 +0000 (03:22 +0300)
cmake supports it since 3.0 I guess.

And it must be trusty (not precise), otherwise it fails:
  dpkg: error processing
  /var/cache/apt/archives/ifupdown_0.8.10ubuntu1_amd64.deb (--unpack):
   trying to overwrite '/etc/init.d/networking', which is also in package netbase 4.47ubuntu1

Link: https://travis-ci.org/azat/libevent/jobs/193744023
.travis.yml

index acc85e6a78345c3080f3d2fd98c9151aa0148d62..0aab24c61436e08f2bae61c66f54ebfc8bd4a78f 100644 (file)
@@ -2,6 +2,7 @@ os:
   - linux
   - osx
 sudo: false
+dist: trusty
 
 env:
   matrix:
@@ -47,14 +48,17 @@ before_install:
 
 addons:
   apt:
+    sources:
+    - xenial
+    - sourceline: 'deb http://archive.ubuntu.com/ubuntu xenial main'
     packages:
-      - zlib1g-dev
-      - libssl-dev
-      - build-essential
-      - automake
-      - autoconf
-      - cmake
-      - lcov
+    - zlib1g-dev
+    - libssl-dev
+    - build-essential
+    - automake
+    - autoconf
+    - cmake
+    - lcov
 
 script:
   - if [ "$EVENT_BUILD_METHOD" = "autotools" ]; then