From 6f675c38627652c71b718d6a6bbb4e87e668cd96 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 20 Apr 2016 13:53:15 +0100 Subject: [PATCH] Install dc (the unix desk calculator) so that testratio can compute performance ratios. Copied from Perforce Change: 191352 ServerID: perforce.ravenbrook.com --- mps/.travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mps/.travis.yml b/mps/.travis.yml index d78b45e190a..edb22344ca7 100644 --- a/mps/.travis.yml +++ b/mps/.travis.yml @@ -18,3 +18,7 @@ notifications: irc: "irc.freenode.net#memorypoolsystem" script: - ./configure --prefix=$PWD/prefix && make install && make test +before_install: + - if test "$TRAVIS_OS_NAME" = "linux"; then sudo apt-get -qq update; fi + # dc is used by testratio to compute performance ratios. + - if test "$TRAVIS_OS_NAME" = "linux"; then sudo apt-get install -y dc; fi