From 83047f139a171594457d255431da044521d816cd Mon Sep 17 00:00:00 2001 From: Dominik Date: Sat, 5 Mar 2016 19:18:00 +0100 Subject: [PATCH] Install PyCrypto via pip for Travis CI build PyCrypto is currently not available when running the vpicc unittest so the tests fails. In order to run the tests sucessfully we install PyCrypto via pip. This only works only works on linux and only when not using mingw32-gcc. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index e808b8f..01c5feb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,7 @@ install: if [ -z "$HOST" ]; then sudo ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib/x86_64-linux-gnu/libgcc_s.so; sudo apt-get -qq install libpcsclite-dev libusb-dev xutils-dev gengetopt help2man swig python-dev; + pip install --user pycrypto; else sudo apt-get -qq install libpcsclite-dev libusb-dev xutils-dev gengetopt help2man binutils-mingw-w64 gcc-mingw-w64; fi