1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-30 05:02:52 +08:00

Update .travis.yml

This commit is contained in:
Jay Two 2018-12-24 20:48:24 +09:00 committed by GitHub
parent f4b3b23314
commit d961dc8556
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,34 +12,29 @@ before_install:
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa - sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
- sudo apt-get update -qq - sudo apt-get update -qq
# Qt install:
# Qt
- sudo apt-get install qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev - sudo apt-get install qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev
- sudo apt-get install qt5-default qttools5-dev-tools qtbase5-private-dev - sudo apt-get install qt5-default qttools5-dev-tools qtbase5-private-dev
install:
script: script:
# check gcc version
- gcc --version
- g++ --version
# QXlsx library # QXlsx library
- cd QXlsx - cd QXlsx
- qmake QXlsx.pro - qmake QXlsx.pro
- make - make
# HelloWorld example # HelloWorld example
- cd ../HelloWorld - cd ../HelloWorld
- qmake HelloWorld.pro - qmake HelloWorld.pro
- make - make
- ./HelloWorld - ./HelloWorld
# TestExcel exmaple # TestExcel exmaple
- cd ../TestExcel - cd ../TestExcel
- qmake TestExcel.pro - qmake TestExcel.pro
- make - make
- ./TestExcel - ./TestExcel
after_success: after_success: