Run vpicc unit tests from Travis

This commit is contained in:
Dominik
2014-07-24 20:53:32 +02:00
parent f4e013f3a0
commit 9e606bb0d5

View File

@@ -9,7 +9,8 @@ env:
-PREFIX=/tmp/install -PREFIX=/tmp/install
script: script:
#Build virtualsmartcard #Build virtualsmartcard
- cd virtualsmartcard && autoreconf -vsi && ./configure && make && cd .. - cd virtualsmartcard && autoreconf -vsi && ./configure && make
- cd src/vpicc/ && export PYTHONPATH=$PYTHONPATH:`pwd` && python -m unittest discover -s virtualsmartcard.tests -p *_test.py -v && cd $TRAVIS_BUILD_DIR
# Build pcsc-relay, which requires libnfc # Build pcsc-relay, which requires libnfc
- cd /tmp && git clone https://code.google.com/p/libnfc && cd libnfc && autoreconf -i && ./configure --prefix=$PREFIX && make install && cd $TRAVIS_BUILD_DIR - cd /tmp && git clone https://code.google.com/p/libnfc && cd libnfc && autoreconf -i && ./configure --prefix=$PREFIX && make install && cd $TRAVIS_BUILD_DIR
- cd pcsc-relay && autoreconf -vsi && ./configure && make && cd .. - cd pcsc-relay && autoreconf -vsi && ./configure && make && cd ..