File: .travis.yml

package info (click to toggle)
wxwidgets3.0 3.0.5.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 120,464 kB
  • sloc: cpp: 896,633; makefile: 52,303; ansic: 21,971; sh: 5,713; python: 2,940; xml: 1,534; perl: 264; javascript: 33
file content (44 lines) | stat: -rw-r--r-- 1,539 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
32
33
34
35
36
37
38
39
40
41
42
43
44
# This is the control file for Travis continuous integration system.
#
# It is used automatically for the repositories on Github if it's found in the
# root directory of the project.
language: cpp
sudo: required

matrix:
    include:
        - compiler: gcc
        - compiler: gcc
          env: wxCONFIGURE_FLAGS="--enable-utf8 --enable-utf8only --enable-monolithic"
        - dist: trusty
          compiler: gcc
          env: wxCONFIGURE_FLAGS="--enable-stl"
        - dist: trusty
          compiler: clang
          env: wxCONFIGURE_FLAGS="--disable-shared --disable-sys-libs"
        - os: osx
          osx_image: xcode9.4
          compiler: clang
          env:
             - wxMAKEFILE_FLAGS="CXXFLAGS=-std=c++11 CPPFLAGS=-stdlib=libc++ LDFLAGS=-stdlib=libc++"
             - wxCONFIGURE_FLAGS="--with-macosx-version-min=10.7 $wxMAKEFILE_FLAGS"

branches:
    only:
        - master
        - WX_3_0_BRANCH

notifications:
    email:
        recipients:
            - vadim@wxwidgets.org
        on_success: change
        on_failure: change

before_install:
    - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update                                 ; fi
    - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libcppunit-dev libgtk2.0-dev; fi
    - if [[ "$TRAVIS_OS_NAME" == "osx" ]]  ; then brew update                                         ; fi
    - if [[ "$TRAVIS_OS_NAME" == "osx" ]]  ; then brew install cppunit                                ; fi

script: bash build/tools/travis-ci.sh