This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
forked from papyros/qml-material
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (43 loc) · 1.46 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
sudo: required
dist: trusty
language: generic
install:
- sudo add-apt-repository -y ppa:beineri/opt-qt551-trusty
- sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
- sudo apt-get update
- sudo apt-get -y install pep8 pyflakes python python-pip npm nodejs nodejs-legacy
- sudo apt-get -y install qt55declarative
- sudo apt-get -y install qt55quickcontrols qt55graphicaleffects
- sudo apt-get -y install qt55tools
- sudo apt-get -y install cmake
- sudo apt-get -y install xvfb
- sudo npm install -g jshint
before_script:
# - git clone git://github.com/papyros/docmaker.git
# - sudo pip install -r docmaker/requirements.txt
# - export PATH=$PATH:$(pwd)/docmaker
- git clone git://anongit.kde.org/extra-cmake-modules
- pushd extra-cmake-modules
- cmake . -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=lib -DLIBEXEC_INSTALL_DIR=lib -DQML_INSTALL_DIR=lib/qt/qml
- make
- sudo make install
- popd
script:
- source /opt/qt55/bin/qt55-env.sh
- cmake .
- make
- xvfb-run -a -s "-screen 0 800x600x24" ctest -V
- ./scripts/lint.sh
# - ./scripts/build_docs.sh
# after_success:
# - ./scripts/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="[email protected]"
- SOURCE_BRANCH="develop"