-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (23 loc) · 797 Bytes
/
.travis.yml
File metadata and controls
27 lines (23 loc) · 797 Bytes
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
sudo: true
dist: bionic
language: cpp
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
- sudo apt-get install -q gcc g++ cmake libeigen3-dev git wget valgrind
- sudo apt-get install -q build-essential libssl-dev libffi-dev python3-dev python3-pip python3-setuptools
- travis_wait pip3 install --user cpp-coveralls pytest wheel
- git submodule update --init --recursive
script:
- mkdir build
- pushd build
- cmake ..
- cmake --build .
- ./test/unit_tests
- popd
- ./dev-scripts/runInstallPyPackage.sh # installs microgbtpy
- pushd python-package && python3 -m pytest && popd
after_success:
- coveralls --include src --include include --gcov-options '\-lp' --root . --build-root build;
notifications:
email: false