Skip to content

Commit

Permalink
add Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
phoemur committed Mar 13, 2018
1 parent c2323ee commit a6ddc3f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: cpp
compiler: gcc
dist: trusty

before_install:
- cd ${TRAVIS_BUILD_DIR}
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq

install:
- sudo apt-get install -qq qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev
- sudo apt-get install -qq qt5-default qttools5-dev-tools qt5-qmake
- sudo apt-get install -qq g++-7
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90

script:
- cd ${TRAVIS_BUILD_DIR}
- qmake tictactoe.pro
- make

0 comments on commit a6ddc3f

Please sign in to comment.