Blame .travis.yml

118737
language: cpp
b9c11a
b9c11a
git:
b9c11a
  depth: 1
b9c11a
  submodules: false
e83f04
46a1f2
env:
15565e
  global:
15565e
    - BUILD_FILENAME="build-$TRAVIS_OS_NAME.$TRAVIS_BUILD_NUMBER-$(date '+%Y-%m-%d_%H_%M_%S').tgz"
b735c0
    - MAKE_THREADS=4
b9c11a
118737
matrix:
118737
  include:
e83f04
118737
  - os: linux
102e8f
    name: "Synfig Studio Ubuntu 18.04 Bionic (Check appdata.xml)"
102e8f
    sudo: required
102e8f
    dist: bionic
102e8f
    before_install:
102e8f
      - sudo apt update && sudo apt install flatpak
102e8f
      - sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
102e8f
      - sudo flatpak install flathub org.freedesktop.appstream-glib -y
102e8f
    script: sudo flatpak run org.freedesktop.appstream-glib validate synfig-studio/org.synfig.SynfigStudio.appdata.xml.in
102e8f
102e8f
  - os: linux
b735c0
    name: "Synfig Studio Ubuntu 16.04 Xenial (GCC/Autotools)"
b9c11a
    sudo: required
118737
    dist: xenial
490a44
    cache: ccache
c0e017
    before_install: ./1-setup-linux-native.sh
a83b10
    before_script:
a83b10
      - ccache -s
a83b10
      - ccache --set-config=compression=true
AnishGulati 07d3a3
    script: ./travis.sh
e83f04
e83f04
  - os: linux
00e3c9
    if: false
790a6f
    name: "Distcheck - Synfig Studio Ubuntu 16.04 Xenial (GCC/Autotools)"
790a6f
    sudo: required
790a6f
    dist: xenial
790a6f
    cache: ccache
790a6f
    before_install: ./1-setup-linux-native.sh
790a6f
    before_script:
790a6f
      - ccache -s
790a6f
      - ccache --set-config=compression=true
790a6f
    script: ./travis.sh distcheck
790a6f
790a6f
  - os: linux
e83f04
    name: "Synfig Studio Ubuntu 16.04 Xenial (CMake/Ninja)"
e83f04
    env: CMAKE=true
e83f04
    sudo: required
e83f04
    dist: xenial
e83f04
    cache: ccache
a83b10
    before_install: sudo apt-get install ninja-build && ./1-setup-linux-native.sh
a83b10
    before_script:
a83b10
      - ccache -s
a83b10
      - ccache --set-config=compression=true
a83b10
    script: mkdir -p build && cd build && cmake .. -GNinja && ninja
a83b10
    after_script: ccache -s # show ccache stats
e83f04
bf19ac
  - os: linux
bf19ac
    name: "Test render engine for regressions"
bf19ac
    sudo: required
bf19ac
    dist: xenial
bf19ac
    cache: ccache
bf19ac
    before_install: ./1-setup-linux-native.sh
bf19ac
    before_script:
bf19ac
      - ccache -s
bf19ac
      - ccache --set-config=compression=true
bf19ac
    script: ./travis.sh core && autobuild/synfigrenderer-regression-test.sh
bf19ac
f7c125
  - os: osx
b735c0
    name: "Synfig Studio OS X 10.10 Yosemite (Clang/Autotools/Brew)"
b9c11a
    sudo: required
f7c125
    osx_image: xcode6.4
47bd10
    env:
47bd10
      - HOMEBREW_NO_AUTO_UPDATE=1
47bd10
      - HOMEBREW_NO_ANALYTICS=1
f30319
    cache: ccache
1f5f1f
    before_install: brew reinstall libtool # fix no sed
4db674
    install: ./1-setup-osx-brew.sh
a83b10
    before_script:
a83b10
      - ccache -s
a83b10
      - ccache --set-config=compression=true
AnishGulati 07d3a3
    script: ./travis.sh
b735c0
    after_script: ccache -s # show ccache stats
e83f04
02e5ca
  - os: osx
02e5ca
    name: "Synfig Studio OS X 10.13 High Sierra (Clang/Autotools/Brew)"
02e5ca
    sudo: required
02e5ca
    osx_image: xcode10
02e5ca
    env:
02e5ca
      - HOMEBREW_NO_AUTO_UPDATE=1
02e5ca
      - HOMEBREW_NO_ANALYTICS=1
02e5ca
    cache: ccache
337006
    # oclint already uninstalled (fixed in Nov 2018)
337006
    #before_install: brew cask uninstall oclint # fix gcc installing
4db674
    install: ./1-setup-osx-brew.sh
72872e
    before_script:
72872e
      - ccache -s
72872e
      - ccache --set-config=compression=true
AnishGulati 07d3a3
    script: ./travis.sh
02e5ca
    after_script: ccache -s # show ccache stats
e83f04
a570f1
  allow_failures:
a83b10
  #  - env: CMAKE=true
5c6e27
  #  - os: osx
a570f1
    - osx_image: xcode10
bf19ac
    - name: "Test render engine for regressions"