-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
48 lines (43 loc) · 1.39 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
sudo: required
dist: trusty
language: node_js
node_js:
- "5.1"
install:
- npm install -g qmlify
- npm install
- sudo add-apt-repository -y ppa:beineri/opt-qt551-trusty
- sudo add-apt-repository -y ppa:beineri/opt-qt56-trusty
- sudo apt-get update
- sudo apt-get -y install qt55declarative qt55tools
- sudo apt-get -y install qt56declarative qt56tools
- sudo apt-get -y install xvfb
before_script:
- git clone https://github.com/quickly/quickly.git
- pushd quickly/quickly
- npm install
- popd
script:
- source /opt/qt55/bin/qt55-env.sh
- mkdir quickly/quickly/build && pushd quickly/quickly/build
- qmake .. && make && sudo make install
- popd
- mkdir build && pushd build
- qmake .. && make && sudo make install
- popd
- xvfb-run -a -s "-screen 0 800x600x24" npm run test
- source /opt/qt56/bin/qt56-env.sh
- rm -r quickly/quickly/build/* && pushd quickly/quickly/build
- qmake .. && make && sudo make install
- popd
- rm -r build/* && pushd build
- qmake .. && make && sudo make install
- popd
- xvfb-run -a -s "-screen 0 800x600x24" npm run test
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/837b6cbd8f8ea536e8a6
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always