Attempt at getting TravisCI to compile for all three operating systems
This commit is contained in:
+28
-6
@@ -1,8 +1,16 @@
|
||||
language: cpp
|
||||
|
||||
branches:
|
||||
except:
|
||||
- # Do not build tags that we create when we upload to GitHub Releases
|
||||
- /^(?i:continuous)/
|
||||
|
||||
matrix:
|
||||
include
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: gcc
|
||||
sudo: require
|
||||
dist: xenial
|
||||
|
||||
before_install:
|
||||
- sudo add-apt-repository ppa:beineri/opt-qt-5.12.3-xenial -y
|
||||
- sudo apt-get update -qq
|
||||
@@ -26,7 +34,21 @@ after_success:
|
||||
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
||||
- bash upload.sh SavvyCAN*.AppImage*
|
||||
|
||||
branches:
|
||||
except:
|
||||
- # Do not build tags that we create when we upload to GitHub Releases
|
||||
- /^(?i:continuous)/
|
||||
- os: osx
|
||||
osx_image: xcode10
|
||||
before_install:
|
||||
- brew install qt5
|
||||
- brew link qt5 --force
|
||||
script:
|
||||
- qmake CONFIG+=release -spec macx-xcode SavvyCAN.pro
|
||||
- xcodebuild
|
||||
- macdeployqt Release/SavvyCAN.app -dmg
|
||||
- os: windows
|
||||
before_install:
|
||||
- dir C:/Program\ Files\ \(x86\)/Windows\ Kits/10/bin/10.0.17134.0/x64
|
||||
- cmd.exe /C 'cd && "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86 && cd && cd "C:/Users/travis/build/braindef/jamulus" && dir'
|
||||
- curl -vLO http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe
|
||||
- "./qt-unified-windows-x86-online.exe --verbose --script qt-installer-windows.qs"
|
||||
- ls -la C:/Qt/5.12.3/msvc2017/bin/qtenv2.bat
|
||||
script:
|
||||
- cmd.exe /C 'cd && "C:\Qt\5.12.3\msvc2017\bin\qtenv2.bat" && cd && "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86 && cd && qmake CONFIG+=RELEASE SavvyCAN.pro && nmake'
|
||||
|
||||
Reference in New Issue
Block a user