mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 00:31:02 +08:00
Update .travis.yml
This commit is contained in:
parent
ff31cf1c91
commit
3b1794c227
15
.travis.yml
15
.travis.yml
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user