1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-08 21:52:42 +00:00

use python3 in travis

This commit is contained in:
Pavol Rusnak 2018-04-05 14:52:59 +02:00
parent 7111431890
commit 7ea31aecf7
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -10,14 +10,16 @@ addons:
apt: apt:
packages: packages:
- check - check
- cmake
- cmake-data
- libssl-dev - libssl-dev
- python-pip - python3-pip
- valgrind - valgrind
env:
global:
- PYTHON=python3
install: install:
- pip install --user pytest ecdsa curve25519-donna - $PYTHON -m pip install --user pytest ecdsa curve25519-donna
script: script:
- make - make
@ -25,7 +27,7 @@ script:
- ./tests/test_check - ./tests/test_check
- CK_TIMEOUT_MULTIPLIER=20 valgrind -q --error-exitcode=1 ./tests/test_check - CK_TIMEOUT_MULTIPLIER=20 valgrind -q --error-exitcode=1 ./tests/test_check
- ./tests/test_openssl 1000 - ./tests/test_openssl 1000
- cd ./tests ; ITERS=10 pytest ; cd .. - cd ./tests ; ITERS=10 $PYTHON -m pytest ; cd ..
notifications: notifications:
webhooks: webhooks: