aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-07 02:42:37 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-07 02:42:37 +0200
commit89d037048bbe73a7413d264dd6bb0525748a66ca (patch)
tree672b85baf79b12690d28b6fae021af3849565af0 /.travis.yml
parente07e1d66e892764582fbe091fa1cd4cc13619e2f (diff)
downloadblogc-89d037048bbe73a7413d264dd6bb0525748a66ca.tar.gz
blogc-89d037048bbe73a7413d264dd6bb0525748a66ca.tar.bz2
blogc-89d037048bbe73a7413d264dd6bb0525748a66ca.zip
build: travis: install dependencies only for current target
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml43
1 files changed, 34 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index c503bc4..9949116 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,24 +1,23 @@
sudo: required
language: c
-addons:
- apt:
- packages:
- - gcc-mingw-w64-i686
- - gcc-mingw-w64-x86-64
- - libcmocka-dev
- - rpm
- - valgrind
-
matrix:
include:
- compiler: gcc
env:
- TARGET=distcheck
+ addons:
+ apt:
+ packages:
+ - libcmocka-dev
- compiler: clang
env:
- TARGET=distcheck
- DISABLE_PUBLISHER=1
+ addons:
+ apt:
+ packages:
+ - libcmocka-dev
- os: osx
compiler: clang
env:
@@ -27,27 +26,53 @@ matrix:
- compiler: gcc
env:
- TARGET=valgrind
+ addons:
+ apt:
+ packages:
+ - libcmocka-dev
+ - valgrind
- compiler: clang
env:
- TARGET=valgrind
+ addons:
+ apt:
+ packages:
+ - libcmocka-dev
+ - valgrind
- compiler: clang
env:
- TARGET=clang-analyzer
- compiler: gcc
env:
- TARGET=dist-srpm
+ addons:
+ apt:
+ packages:
+ - rpm
- compiler: gcc
env:
- TARGET=static
- compiler: gcc
env:
- TARGET=check-make-embedded
+ addons:
+ apt:
+ packages:
+ - libcmocka-dev
- compiler: gcc
env:
- TARGET=win32
+ addons:
+ apt:
+ packages:
+ - gcc-mingw-w64-i686
- compiler: gcc
env:
- TARGET=win64
+ addons:
+ apt:
+ packages:
+ - gcc-mingw-w64-x86-64
install:
- gem install ronn