From 7280781c3a1155a3ba9ce2a487e271c686cfaf62 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Fri, 25 Jul 2014 11:29:28 -0400 Subject: [PATCH] travis: minimize the dependencies available for each build config This is a more realistic representation of a build environment. Helps to ensure configure logic and that headers aren't accidentally assumed to be present. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ab8cb6983ed..8d1b6f4c4b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ language: cpp compiler: gcc install: - - sudo apt-get install yasm libgmp-dev + - if [ "$BIGNUM" = "gmp" -o "$FIELD" = "gmp" ]; then sudo apt-get install -qq libgmp-dev; fi + - if [ "$FIELD" = "64bit_asm" ]; then sudo apt-get install -qq yasm; fi env: global: - FIELD=auto BIGNUM=auto ENDOMORPHISM=no BUILD=check