1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 23:38:09 +00:00
trezor-firmware/.travis.yml
2017-04-11 16:59:29 +02:00

34 lines
543 B
YAML

sudo: required
dist: trusty
language: c
services:
- docker
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- check
- cmake
- cmake-data
- libssl-dev
- python-pip
- nodejs
install:
- pip install --user pytest ecdsa curve25519-donna
script:
- export CC='gcc-5'
- make
- ./tests
- ./test-openssl 1000
- ITERS=10 py.test
- mkdir _build && cd _build
- cmake ..
- make
- cd .. && cd emscripten && rm trezor-crypto.js && make docker-build && make test-correctness