File: .travis.yml

package info (click to toggle)
danmaq 0.2.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 656 kB
  • sloc: cpp: 786; makefile: 6; sh: 4
file content (25 lines) | stat: -rw-r--r-- 712 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
sudo: required
language: bash
servies:
    - docker

matrix:
    include:
    - os: osx
    - os: linux
      env: BUILD_FLAVOR=fedora
    - os: linux
      env: BUILD_FLAVOR=ubuntu
    - os: linux
      env: BUILD_FLAVOR=debian

before_install:
    - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
    - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker build -f ./.travisci/Dockerfile.$BUILD_FLAVOR -t danmaq-devel . ; fi

install:
    - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt ; fi

script:
    - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash ./.travisci/.travis.sh ; fi
    - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run -it danmaq-devel ./.travisci/.travis.sh ; fi