forked from tiny-express/native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·45 lines (45 loc) · 2.28 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
dist: trusty
language: cpp
os:
- linux
- osx
env:
- ARCH=x64
- ARCH=arm
services:
- docker
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- libgtest-dev
- valgrind
- lcov
- gradle
- g++-5
before_script:
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90; fi
- export CC=gcc
- export CXX=g++
- ./misc/benchmark.sh
script:
- cd develop
- cmake . -DCMAKE_BUILD_TYPE=Debug && make native_test -j8
- cmake . -DCMAKE_BUILD_TYPE=Release && make native_benchmark
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then valgrind --error-exitcode=42 --leak-check=full ./native_test; else ./native_test; fi
- ./native_benchmark
after_success:
- cd $TRAVIS_BUILD_DIR
- ./misc/codecov.sh
- ./misc/build_docker.sh
notifications:
email: false
slack: foodtiny:hzkLBCLrqjtgi9ctqwdQ034S
env:
global:
- secure: WhyNNr/jjhWKne4ozRfOG8VPn+XWMioMPBn6zvbVnNpEC3CMv2k25JhouWCGZ3un1e3ANeq/McVJ/iL5xrlPKWMUUlLV6u7nCsqm2uDA3CU9irjyPX8ydQ8ryXShO573EoUbGSaYQb1i4iS91tFqvMp+xKe8CWB3WnCgSkOHn2mtPnxkBEMXqCBxl5SXW80wtaUDt3wbC0D6/84GdLyfTCaBKdNJpn8UwMsg3NByjacBODxh7paJ7o3+AZHSltB9RFAliLXmsu1VND/U/P/VzMQrJ64voDoQVXBzvBL1mBkS2tsFMUCgH/Tphfb7Fz4BWLerPTA3jsmFXJ9uzKSyx+c6wiUt1FyttcU7ShJnA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