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.
This commit is contained in:
Cory Fields 2014-07-25 11:29:28 -04:00
parent 7d1956ff8d
commit 7280781c3a
1 changed files with 2 additions and 1 deletions

View File

@ -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