-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (39 loc) · 1.11 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
jobs:
include:
- language: python
python: 3.8.5
before_install:
- cd client
# Install requirements
install:
- pip install -r requirements.txt
# Run tests
script:
- coverage run -m unittest discover -s tests -p "*_test.py"
- coverage report --fail-under=60
- flake8 client/
- language: cpp
compiler: gcc
addons:
apt:
sources:
- sourceline: 'ppa:mhier/libboost-latest'
- ubuntu-toolchain-r-test
packages:
- gcc-8
- g++-8
- cmake
- boost1.67
- libbluetooth-dev
# Run tests
script:
- cd on-board
- ./src/udf_module/install_frugally-deep.sh
# Export CC and CXX to tell cmake which compiler to use
- export CC=/usr/bin/gcc-8
- export CXX=/usr/bin/g++-8
# Check versions of gcc, g++ and cmake
- gcc -v && g++ -v && cmake --version
- cmake .
- cmake --build .
- ./TestCan && ./TestComms && ./TestDataProcessing && ./TestCrypto && ./TestUDF