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-05 23:56:11 +03:00 committed by GitHub
parent ff31cf1c91
commit 3b1794c227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,10 +20,7 @@ matrix:
-C_COMPILER=gcc-5 -C_COMPILER=gcc-5
- os: osx - os: osx
osx_image: xcode10 osx_image: xcode10
#compiler: clang
env: env:
#-CXX_COMPILER=clang++
#-C_COMPILER=clang
-CXX_COMPILER=g++-5 -CXX_COMPILER=g++-5
-C_COMPILER=gcc-5 -C_COMPILER=gcc-5
script: script:
@ -40,20 +37,12 @@ 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: before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
sudo apt-get update -qq;
else
brew update; brew update;
fi fi
install: install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
sudo apt-get -y install qt55tools qt55script qt55base qt55svg;
else
brew install gcc5; brew install gcc5;
brew install qt; brew install qt;
brew link --force qt; brew link --force qt;
fi fi