Skip to content

Commit

Permalink
Merge pull request #20 from ugnelis/17-travis
Browse files Browse the repository at this point in the history
Travis setup
  • Loading branch information
ugnelis committed Apr 15, 2018
2 parents 6fc1e68 + c9fcb0c commit 89b1bd6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
dist: trusty
language: cpp

os:
- linux

install:
- |
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
lsb_release -a
sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-add-repository -y ppa:beineri/opt-qt562-trusty
sudo apt-get -qq update
sudo apt-get -qq install g++-4.8 libc6-i386 qt56tools qt56svg qt56script
export CXX="g++-4.8"
export CC="gcc-4.8"
fi
script:
- |
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
QTDIR="/opt/qt56"
PATH="$QTDIR/bin:$PATH"
qt56-env.sh
fi
- mkdir build && cd build
- cmake ..
- make

0 comments on commit 89b1bd6

Please sign in to comment.