-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
34 lines (32 loc) · 1.46 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
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
- lcov
before_install:
- export CC=/usr/bin/gcc-7
- export CXX=/usr/bin/g++-7
jobs:
include:
- stage: Test (Google Test and Siege)
script:
- cd build
- cmake -DBUILD_TESTS=ON ..
- cmake --build .
- GTEST_COLOR=1 ctest
- mv ../get_code_cov.sh . && bash get_code_cov.sh
- bash <(curl -s https://codecov.io/bash)
- stage: Test (Google Test and Siege)
script:
- cd build && cmake ..
- cmake --build .
- mkfifo /tmp/srv-input
- tail -f /tmp/srv-input | ./cpp_zia &
- docker run --rm -t --net=host jstarcher/siege -d1 -r10 -c25 http://localhost:7000
notifications:
slack:
secure: ASo4+UJjTp9spkVWtanj8Cj7ukYbUJhiUlD15jchsrULa4NoOM6mQB4x77iH1+5HX1kGyDCCpAkpwoQjpAa0awzi3AJQ23IRbHvhzq09ckimcEn9AS79fvRALththotRz6ku4oXrn6y1JszmvmJMGmwfMCsrsYqGYUhvbiJ3wUyo3sOS+F3jRBbMd4zUkM5AyWBMr2J2laPALk7KMxH9DLv84q543xFEFuU92PcxO2b6Fecce7MXxc5iKjUqnlHBXmyx6gr1eFeWtSYABLoyHF6K9geJTNVElDpp3Ctj4yOfxT+pO4RAJtK6A/D19AsZD1XleAQ4otp2TZHJEFyhSanRR9tUkr69991VAN0MsFL2vk7U7jof0iHzmj9E0GoIekEHHGAi8Nk7JbaVvcknpxwk3qIJ761nsgK0WO3KmPuGCQIOyfzE1es+Q63s1o36QWu6TWozUnUNZD6y5wNySo6IgTRDbmXN1rgZts9CUgdZaE33h4CGinha8DgEJefXyPR8QU9sJSRDBdoWzUXexJPNWYTaVoUDcSbDYC67z1370GOASQH3SdGceSs8a5L5CKTHLN/XInInSCkxYZPGdbRJDoWDvJUcVZgVIVaGleorKjkUw1n/0HPb8Y+r4wmrfnSMkforSJD9NLLTDYo9Xqa/k78N8La4VSUBZxEQWJU=