-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
45 lines (44 loc) · 1.16 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
language: node_js
node_js:
- "6"
- "8"
- "9"
- "10"
- "11"
- "12"
- "13"
- "14"
env:
- CXX=g++-4.8
before_install:
# Qt
#- sudo apt-add-repository --yes ppa:beineri/opt-qt551-trusty
#- sudo apt-get update -qq
install:
# Qt
#- sudo apt-get -y install qt55[QTPACKAGE]
#- sudo apt-get -y install qmlscene qt5-default qtdeclarative5-dev qtbase5-dev
- rm -rf node_modules
- npm install
- export PATH=$PWD/node_modules/.bin:$PATH
- export NODE_OPTIONS="--max-old-space-size=3072"
- export TZ=America/Los_Angeles
script:
# [Error] module QtQuick is not installed
#- source /opt/qt55/bin/qt55-env.sh
# [Error] [exec] QXcbConnection: Could not connect to display
#- export QT_QPA_PLATFORM=offscreen
# [Error] QFontDatabase: Cannot find font directory /usr/lib/x86_64-linux-gnu/fonts - is Qt installed correctly?
#- sudo ln -s /usr/share/fonts /usr/lib/x86_64-linux-gnu/fonts
# iLib full build / Run nodeunit tests
- ant clean test.travis
#- which qmake
#- which qmlscene
#- cd qt/NodeunitTest
#- /usr/bin/qmlscene NodeunitRunAll.qml -I ../FileReader/imports/
branches:
only:
- master
- development
sudo: required
dist: trusty