mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-12 23:52:39 +00:00
Travis CI: Use Python 3
This commit is contained in:
parent
fd57b89902
commit
73c6cf22ad
13
.travis.yml
13
.travis.yml
@ -8,10 +8,12 @@ addons:
|
|||||||
- build-essential
|
- build-essential
|
||||||
- gcc-arm-none-eabi
|
- gcc-arm-none-eabi
|
||||||
- libnewlib-arm-none-eabi
|
- libnewlib-arm-none-eabi
|
||||||
|
- python3-pip
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- MAKEFLAGS=-j2
|
- MAKEFLAGS=-j2
|
||||||
|
- PYTHON=python3
|
||||||
- PROTOBUF_VERSION=3.4.0
|
- PROTOBUF_VERSION=3.4.0
|
||||||
matrix:
|
matrix:
|
||||||
- DEBUG_LINK=0 FASTFLASH=0
|
- DEBUG_LINK=0 FASTFLASH=0
|
||||||
@ -25,14 +27,15 @@ matrix:
|
|||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- gcc-multilib
|
- gcc-multilib
|
||||||
|
- python3-pip
|
||||||
env:
|
env:
|
||||||
- EMULATOR=1 HEADLESS=1
|
- EMULATOR=1 HEADLESS=1
|
||||||
- DEBUG_LINK=1
|
- DEBUG_LINK=1
|
||||||
before_script:
|
before_script:
|
||||||
- pip install --user pytest
|
- $PYTHON -m pip install --user pytest
|
||||||
- pip install --user ecdsa mnemonic
|
- $PYTHON -m pip install --user ecdsa mnemonic
|
||||||
- pip install --user rlp requests[security]
|
- $PYTHON -m pip install --user rlp
|
||||||
- pip install --user --no-deps git+https://github.com/trezor/python-trezor@master
|
- $PYTHON -m pip install --user --no-deps git+https://github.com/trezor/python-trezor@master
|
||||||
script:
|
script:
|
||||||
- script/cibuild
|
- script/cibuild
|
||||||
- script/test
|
- script/test
|
||||||
@ -41,7 +44,7 @@ install:
|
|||||||
- curl -LO "https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protoc-${PROTOBUF_VERSION}-linux-x86_64.zip"
|
- 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
|
- unzip "protoc-${PROTOBUF_VERSION}-linux-x86_64.zip" -d protoc
|
||||||
- export PATH="$(pwd)/protoc/bin:$PATH"
|
- export PATH="$(pwd)/protoc/bin:$PATH"
|
||||||
- pip2 install --user "protobuf==${PROTOBUF_VERSION}"
|
- $PYTHON -m pip install --user "protobuf==${PROTOBUF_VERSION}"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- script/cibuild
|
- script/cibuild
|
||||||
|
Loading…
Reference in New Issue
Block a user