-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
51 lines (42 loc) · 1.41 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: shell
addons:
apt:
packages: xvfb
env:
global:
RUNNER="./qt_installer.sh"
before_install:
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then npm install -g jshint ; fi
install:
- ${RUNNER}
script:
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then jshint control_script.js ; fi
- qmake --version
matrix:
include:
- os: osx
osx_image: xcode10.2
env:
- QT_INSTALLER_DOWNLOAD_NAME="qt-unified-mac-x64-online.dmg"
- QT_INSTALLER_VARS="${TRAVIS_BUILD_DIR}/ci/vars_mac.js"
- PATH="/opt/Qt/5.12.3/clang_64/bin:${PATH}"
# 64-bit Windows
- os: windows
env:
# Yes, x86 in installer name is correct.
- QT_INSTALLER_DOWNLOAD_NAME="qt-unified-windows-x86-online.exe"
- QT_INSTALLER_VARS="${TRAVIS_BUILD_DIR}/ci/vars_win_x64.js"
- PATH="/c/Qt/5.12.3/msvc2017_64/bin:${PATH}"
# 32-bit Windows
- os: windows
env:
- QT_INSTALLER_DOWNLOAD_NAME="qt-unified-windows-x86-online.exe"
- QT_INSTALLER_VARS="${TRAVIS_BUILD_DIR}/ci/vars_win_x86.js"
- PATH="/c/Qt/5.12.3/msvc2017/bin:${PATH}"
- os: linux
dist: bionic
env:
- QT_INSTALLER_DOWNLOAD_NAME="qt-unified-linux-x64-online.run"
- QT_INSTALLER_VARS="${TRAVIS_BUILD_DIR}/ci/vars_linux.js"
- PATH="/opt/Qt/5.12.3/gcc_64/bin:${PATH}"
- RUNNER='xvfb-run --auto-servernum --error-file=/dev/stderr ./qt_installer.sh'