This repository has been archived by the owner on Jun 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
61 lines (53 loc) · 1.39 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
language: c
dist: trusty
sudo: required
compiler:
- clang
- gcc
addons:
apt:
packages:
- cmake
- lcov
- python3
- python3-pip
- python3.4-venv
- libstdc++6
# doc
# - inkscape
# - texlive-latex-base
# - texlive-latex-extra
# - texlive-fonts-recommended
# - texlive-latex-recommended
# - texlive-lang-czechslovak
# - texlive-science
# - texlive-full
before_install:
- cd utils/plotly
- pyvenv-3.4 .venv
- source .venv/bin/activate
- pip install --upgrade requests[security] && pip install -r ./requirements.txt || true
- pip install typing
- cd ../..
script:
- mkdir build && cd build
- cmake .. -DENABLE_COVERAGE=On && make && CTEST_OUTPUT_ON_FAILURE=1 GTEST_COLOR=1 make test
- ./../utils/integration-test.sh ./ifj2017 ./../rozsireni || true
- make gcov
- make lcov
- cd ..
after_success:
- bash ./utils/codecov.sh -X coveragepy -X gcov
- ./utils/benchmark.sh
after_script:
# - (cd doc && make || true)
env:
global:
- CODECOV_TOKEN=49426dd4-a887-4501-9cf6-36f51915647a
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/da3c347eb90f4d6ea088
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always