Skip to content

Commit

Permalink
Add: travis-ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
wdigger committed Apr 13, 2017
1 parent 14ccf87 commit 8c3d36a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ before_install:
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo add-apt-repository -y ppa:beineri/opt-qt58-trusty; fi
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo apt-get update -qq; fi
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew update; fi
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew install qt; fi

install:
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo apt-get install qt58base qt58x11extras qt58tools qt58multimedia libpulse-dev; fi
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew install qt; fi

before_script:
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then source /opt/qt58/bin/qt58-env.sh; fi
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export QTDIR="/usr/local/opt/qt"; fi
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export PATH="$QTDIR/bin:$PATH"; fi

script:
- qmake
Expand Down

0 comments on commit 8c3d36a

Please sign in to comment.