forked from lwtnn/lwtnn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (61 loc) · 2.16 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
sudo: required
dist: bionic
language: python
notifications:
email: on_failure
env:
# coverity stuff
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "JpBZGZhAtJtqL8mRo4nZ7btAH+kYrLvuBZvc08FQg5IBKZFGfMfl4weeZa2Z1v/eFI1ByDuotFeBGeKA93YSaRffXyWd1pr0uhdjsU8rR/8mD9OJDAytfai8N9gVmNMlnoRg4Fwy7PVy7qB47UhdIuymZXDpcFJd0bPeYjKc5vaLXlCHrsw+px/RZpHniBl4kd8WH586To4HN4SSwTESI2/S/8W19wOAGbmlUrzmFvjdFBs8Z77CpCf3wnwcMORPFuhx06FcPtAoxAmQvo7V/3G8/Ioh8sLnmVF1/CP7Qc/2s3aIe8cLTwGSQbtVtMAZrka0gkRK6dtELMBy9bQGmY9dXhZruT50q6bT4bgk+gouPgZvMHitqWx+0T5gH+Py1VxUfV7e2B+jJA4CrlTvhADaUIJN26vRplcZnghUma1O+2SedG4aJ3zilUZqOm3K9OpfCUM4mzn1FCAcmAslO3ZqqVteK6D612WPWO7Zt6ek4hCyABtrG6YreZ2xSAVYwhma/o4aqVBrGEfecpqMGb3aAZrXeLhA+7hq4leGKvpd3OYlpjhg1KRoM26G9dr6Ac/0EIPAnJ0tf2RGey+3U9D78B9yz3ymqBZLCpjyJ1BH2RjYpHxmU0A1Ud9gxKlIJaVJ5YK9UgOg2DQZDQz4rRhpfoTVIbtTSW2+NLLr1rk="
# test both cmake and make build systems
matrix:
- BUILD=make
- BUILD=./tests/build-cmake.sh
- STANDARD=17 BUILD=./tests/build-cmake.sh
matrix:
include:
# minimal build setup
- packages:
- tree
- cmake
- libhdf5-serial-dev
env: MINIMAL=1 BUILD=./tests/build-cmake.sh
addons:
apt:
packages:
- tree
- cmake
- libhdf5-serial-dev
- libboost-dev
- libeigen3-dev
coverity_scan:
project:
name: "lwtnn/lwtnn"
description: "lightweight neural network for C++"
notification_email: [email protected]
build_command_prepend: "make clean"
build_command: "make"
branch_pattern: coverity_scan
# python dependencies
python:
- "3.8"
install:
- pip install h5py
- pip install pyyaml
# TODO: add some regression tests
script:
- $BUILD
- ./tests/test-highway.sh
- ./tests/test-GRU.sh
- ./tests/test-BatchNorm.sh
- ./tests/test-dense_dropout_functional.sh
- ./tests/test-lstm_functional.sh
- ./tests/test-merge-graph.sh
- ./tests/test-time-distributed-dense.sh
- ./tests/test-gru-sequence.sh
- ./tests/check-version-number.sh
- ./tests/check-conversion.sh
- ./tests/test-leaky-relu.sh
- ./tests/test-elu.sh