forked from papyros/qml-material
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (24 loc) · 950 Bytes
/
.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
sudo: required
dist: trusty
language: generic
install:
- sudo add-apt-repository -y ppa:beineri/opt-qt551-trusty
- sudo add-apt-repository -y ppa:beineri/opt-qt561-trusty
- sudo apt-get update
- sudo apt-get -y install pep8 pyflakes python python-pip npm nodejs nodejs-legacy
- sudo apt-get -y install qt55declarative qt55quickcontrols qt55graphicaleffects qt55tools qt55svg
- sudo apt-get -y install qt56declarative qt56quickcontrols qt56graphicaleffects qt56tools qt56svg
- sudo apt-get -y install xvfb
- sudo npm install -g jshint
script:
- source /opt/qt55/bin/qt55-env.sh
- qmake . && make && sudo make install
- xvfb-run -a -s "-screen 0 800x600x24" make check
- sudo git clean -xfd
- source /opt/qt56/bin/qt56-env.sh
- qmake . && make && sudo make install
- xvfb-run -a -s "-screen 0 800x600x24" make check
- sudo git clean -xfd
- ./scripts/lint.sh
notifications:
slack: papyros:Z7PeY2Y4mh0GWPoypZZNLd3D