File: .travis.yml

package info (click to toggle)
libqtshadowsocks 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 412 kB
  • sloc: cpp: 3,315; makefile: 8
file content (31 lines) | stat: -rw-r--r-- 580 bytes parent folder | download
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
sudo: required
dist: trusty
language: cpp
cache: apt
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
      - sourceline: 'ppa:hedges/qt5.5'
    packages:
      - g++-7
      - cmake
      - qt55base
      - libbotan1.10-dev

env:
  - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"

branches:
  only:
    - 'master'

before_install:
  - eval "${MATRIX_EVAL}"

script:
  # Build
  - mkdir build && cd build
  - cmake .. -DQt5Core_DIR="/opt/qt55/lib/cmake/Qt5Core" -DQt5Network_DIR="/opt/qt55/lib/cmake/Qt5Network" -DQt5Test_DIR="/opt/qt55/lib/cmake/Qt5Test"
  - make && make test