0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 08:01:51 +08:00

Update .travis.yml

This commit is contained in:
Sergey Yagovtsev 2021-06-06 00:18:46 +03:00 committed by GitHub
parent 69c43265b3
commit 85d84db95d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,3 @@
sudo: required
dist: xenial
language: cpp
cache: ccache
@ -26,20 +25,13 @@ matrix:
script:
- mkdir build
- cd build
- cmake --version
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
qmake -v;
else
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
export PATH=/usr/local/opt/qt/bin:$PATH;
fi
- cmake -DCMAKE_CXX_COMPILER=$CXX_COMPILER -DCMAKE_C_COMPILER=$C_COMPILER .. && make -j3
after_success:
- cd ../sample && $CXX_COMPILER -std=c++11 -O3 main_clock.cpp -o test_clock && ./test_clock
- ./build_express_test.sh
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update;
fi
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew install gcc5;