From 226999d5b47d575c7940fc925a959dc02379d17d Mon Sep 17 00:00:00 2001 From: Saleem Rashid Date: Sun, 17 Dec 2017 16:04:02 +0000 Subject: [PATCH] Travis CI: Run tests on emulator --- .travis.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4301fd031..5b124df90 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,23 @@ env: - DEBUG_LINK=0 FASTFLASH=1 - DEBUG_LINK=1 FASTFLASH=1 +matrix: + include: + - addons: + apt: + packages: + - gcc-multilib + env: + - EMULATOR=1 HEADLESS=1 + - DEBUG_LINK=1 + before_script: + - sed -i '/hidapi/d' "vendor/python-trezor/requirements.txt" + - pip install --user --requirement "vendor/python-trezor/requirements.txt" rlp pytest + - pip install --user --no-deps "vendor/python-trezor" + script: + - script/cibuild + - script/test + install: - curl -LO "https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protoc-${PROTOBUF_VERSION}-linux-x86_64.zip" - unzip "protoc-${PROTOBUF_VERSION}-linux-x86_64.zip" -d protoc