0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 16:11:02 +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 dist: xenial
language: cpp language: cpp
cache: ccache cache: ccache
@ -26,20 +25,13 @@ matrix:
script: script:
- mkdir build - mkdir build
- cd build - cd build
- cmake --version - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
qmake -v;
else
export PATH=/usr/local/opt/qt/bin:$PATH; export PATH=/usr/local/opt/qt/bin:$PATH;
fi fi
- cmake -DCMAKE_CXX_COMPILER=$CXX_COMPILER -DCMAKE_C_COMPILER=$C_COMPILER .. && make -j3 - cmake -DCMAKE_CXX_COMPILER=$CXX_COMPILER -DCMAKE_C_COMPILER=$C_COMPILER .. && make -j3
after_success: after_success:
- cd ../sample && $CXX_COMPILER -std=c++11 -O3 main_clock.cpp -o test_clock && ./test_clock - cd ../sample && $CXX_COMPILER -std=c++11 -O3 main_clock.cpp -o test_clock && ./test_clock
- ./build_express_test.sh - ./build_express_test.sh
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update;
fi
install: install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew install gcc5; brew install gcc5;