Debian Codegraph @

.gitlab-ci.yml

raw symbols SCIP
1 image: ubuntu:xenial
2
3 cache:
4 key: apt-cache
5 paths:
6 - apt-cache/
7
8 before_script:
9 - export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
10 - apt-get update -yq && apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y qt5-qmake qtdeclarative5-dev qtdeclarative5-dev-tools qtchooser pkg-config libaccounts-qt5-dev libsignon-qt5-dev
11 - apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y dbus-test-runner xvfb qtdeclarative5-qtquick2-plugin lcov gcovr
12
13 build_amd64:
14 stage: build
15 script:
16 - export QT_SELECT=qt5
17 - mkdir build
18 - cd build
19 - qmake CONFIG+=debug CONFIG+=coverage ..
20 - make -j 4
21 artifacts:
22 paths:
23 - ./
24
25 test_amd64:
26 stage: test
27 script:
28 - cd build
29 - make coverage-html
30 dependencies:
31 - build_amd64
32 artifacts:
33 paths:
34 - ./
35
36 pages:
37 stage: deploy
38 script:
39 - cd build
40 - make install INSTALL_ROOT=out
41 - cd ..
42 - mkdir public
43 - cp -a build/coverage-html public/coverage
44 - cp -a build/out/usr/share/accounts-qml-module/doc/html/* public
45 dependencies:
46 - test_amd64
47 artifacts:
48 paths:
49 - public