forked from papyros/qml-material
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 1.02 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
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- sudo add-apt-repository -y ppa:beineri/opt-qt542
- sudo apt-get update
- sudo apt-get -y install pep8 pyflakes python python-pip npm
- sudo apt-get -y install qt54declarative
- sudo apt-get -y install qt54quickcontrols qt54graphicaleffects
- sudo apt-get -y install qt54tools
before_script:
- git clone git://github.com/papyros/docmaker.git
- sudo pip install -r docmaker/requirements.txt
- npm install -g jshint
- export PATH=$PATH:$(pwd)/docmaker
script:
- source /opt/qt54/bin/qt54-env.sh
- qmake
- make check
- ./lint.sh
- ./build_docs.sh
after_success:
- ./deploy.sh
notifications:
slack: papyros:Z7PeY2Y4mh0GWPoypZZNLd3D
# The encryption label is the unique key used in the environment
# variables set up when calling `travis encrypt-file` on the SSH key
env:
global:
- ENCRYPTION_LABEL="a0d7d9cd7ef9"
- GIT_NAME="Travis CI"
- GIT_EMAIL="sonrisesoftware@gmail.com"
- SOURCE_BRANCH="develop"