Commit 1f86019e authored by Luca Boccassi's avatar Luca Boccassi

Problem: Travis installs packages when not needed

Solution: narrow down the matrix to install valgrind and lcov only
for the test runs that use them.
CMake is part of the default image so no need to install it at all.
parent 5871ea5d
...@@ -14,30 +14,28 @@ env: ...@@ -14,30 +14,28 @@ env:
- BUILD_TYPE=cmake CURVE=tweetnacl - BUILD_TYPE=cmake CURVE=tweetnacl
- BUILD_TYPE=default CURVE=libsodium - BUILD_TYPE=default CURVE=libsodium
- BUILD_TYPE=default - BUILD_TYPE=default
- BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled
- BUILD_TYPE=valgrind CURVE=tweetnacl DRAFT=enabled
matrix: matrix:
exclude:
- env: BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled
os: osx
- env: BUILD_TYPE=valgrind CURVE=tweetnacl DRAFT=enabled
os: osx
include: include:
- env: BUILD_TYPE=default CURVE=tweetnacl IPv6=ON - env: BUILD_TYPE=default CURVE=tweetnacl IPv6=ON
os: linux os: linux
dist: precise dist: precise
sudo: false sudo: false
- env: BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled
sudo: required os: linux
addons:
addons:
apt: apt:
packages: packages:
- cmake
- lcov - lcov
- env: BUILD_TYPE=valgrind CURVE=tweetnacl DRAFT=enabled
os: linux
addons:
apt:
packages:
- valgrind - valgrind
sudo: required
before_install: before_install:
- if [ $TRAVIS_OS_NAME == "osx" ] ; then brew update; brew install binutils ; fi - if [ $TRAVIS_OS_NAME == "osx" ] ; then brew update; brew install binutils ; fi
# workaround for Travis OSX CI bug, hasn't been fixed in a month so time for a hack # workaround for Travis OSX CI bug, hasn't been fixed in a month so time for a hack
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment