2017-05-04 01:02:51 +00:00
|
|
|
sudo: false
|
2017-04-01 22:01:07 +00:00
|
|
|
dist: trusty
|
2015-07-29 17:52:42 +00:00
|
|
|
language: c
|
|
|
|
|
2017-04-20 18:45:53 +00:00
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
2015-07-31 07:55:06 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- check
|
2017-04-01 22:01:07 +00:00
|
|
|
- cmake
|
2016-11-16 21:58:12 +00:00
|
|
|
- cmake-data
|
2015-07-31 08:09:15 +00:00
|
|
|
- libssl-dev
|
2015-07-31 08:16:30 +00:00
|
|
|
- python-pip
|
2017-06-03 14:34:56 +00:00
|
|
|
- valgrind
|
2015-07-31 08:16:30 +00:00
|
|
|
|
|
|
|
install:
|
2016-10-15 12:26:51 +00:00
|
|
|
- pip install --user pytest ecdsa curve25519-donna
|
2015-07-29 17:52:42 +00:00
|
|
|
|
|
|
|
script:
|
2015-07-31 08:09:15 +00:00
|
|
|
- make
|
2017-06-03 21:43:58 +00:00
|
|
|
- ./test_check
|
|
|
|
- CK_TIMEOUT_MULTIPLIER=20 valgrind -q --error-exitcode=1 ./test_check
|
|
|
|
- ./test_openssl 1000
|
2015-07-31 08:16:30 +00:00
|
|
|
- ITERS=10 py.test
|
2017-04-11 15:12:30 +00:00
|
|
|
- mkdir _build && cd _build && cmake .. && make && cd ..
|
2017-05-04 01:02:51 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env: BUILD=emscripten
|
|
|
|
script:
|
|
|
|
- cd emscripten && rm trezor-crypto.js && make docker-build && make test-correctness && cd ..
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
sudo: required
|
|
|
|
install: true
|
|
|
|
compiler: true
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- nodejs
|
2017-04-11 15:16:30 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- http://sway.gk2.sk:5000/travis
|
|
|
|
- http://163.172.132.178:5000/travis
|
|
|
|
on_success: always
|
|
|
|
on_failure: always
|
|
|
|
on_start: always
|