]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Travis CI: use container based infrastructre
authorMartin Matuska <martin@matuska.org>
Tue, 10 Jan 2017 21:28:37 +0000 (22:28 +0100)
committerMartin Matuska <martin@matuska.org>
Tue, 10 Jan 2017 22:08:29 +0000 (23:08 +0100)
All required packages are now supported via the "apt" addon.
Install missing libacl1-dev libraries.

.travis.yml

index b6ab92e42355eb724491f05cb3433c383e4dfb35..44cbe21986270d2108a394a5637cd6adb48bf898 100644 (file)
@@ -1,6 +1,14 @@
 language: C
-sudo: required
+sudo: false
 dist: trusty
+addons:
+  apt:
+    packages:
+      - libacl1-dev
+      - libbz2-dev
+      - liblzma-dev
+      - liblzo2-dev
+      - libzip-dev
 os:
   - linux
   - osx
@@ -16,7 +24,6 @@ matrix:
       compiler: gcc
 before_install:
   - if [ `uname` = "Darwin" ]; then brew update; fi
-  - if [ `uname` = "Linux" ]; then sudo apt-get install -y libbz2-dev libzip-dev liblzma-dev liblzo2-dev; fi
 install:
   - if [ `uname` = "Darwin" ]; then brew install xz lzo lz4; fi
 script: