forked from synfig/synfig
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
119 lines (105 loc) · 3.54 KB
/
.travis.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
language: cpp
git:
depth: 1
submodules: false
env:
global:
- BUILD_FILENAME="build-$TRAVIS_OS_NAME.$TRAVIS_BUILD_NUMBER-$(date '+%Y-%m-%d_%H_%M_%S').tgz"
- MAKE_THREADS=4
jobs:
include:
- os: linux
name: "Synfig Studio Ubuntu 18.04 Bionic (Check appdata.xml)"
dist: bionic
before_install:
- sudo apt update && sudo apt install flatpak
- sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
- sudo flatpak install flathub org.freedesktop.appstream-glib -y
script: sudo flatpak run org.freedesktop.appstream-glib validate synfig-studio/org.synfig.SynfigStudio.appdata.xml.in
# - os: linux
# name: "Synfig Studio Ubuntu 16.04 Xenial (GCC/Autotools)"
# dist: xenial
# cache: ccache
# before_install: ./1-setup-linux-native.sh
# before_script:
# - ccache -s
# - ccache --set-config=compression=true
# script: ./travis.sh
# - os: linux
# if: false
# name: "Distcheck - Synfig Studio Ubuntu 16.04 Xenial (GCC/Autotools)"
# dist: xenial
# cache: ccache
# before_install: ./1-setup-linux-native.sh
# before_script:
# - ccache -s
# - ccache --set-config=compression=true
# script: ./travis.sh distcheck
# - os: linux
# name: "Synfig Studio Ubuntu 16.04 Xenial (CMake/Ninja)"
# env: CMAKE=true
# dist: xenial
# cache: ccache
# before_install: sudo apt-get install ninja-build && ./1-setup-linux-native.sh
# before_script:
# - ccache -s
# - ccache --set-config=compression=true
# script: mkdir -p build && cd build && cmake .. -GNinja && ninja
# after_script: ccache -s # show ccache stats
- os: linux
name: "Test render engine for regressions"
dist: xenial
cache: ccache
before_install: ./1-setup-linux-native.sh
before_script:
- ccache -s
- ccache --set-config=compression=true
script: ./travis.sh core && autobuild/synfigrenderer-regression-test.sh
# - os: osx
# name: "Synfig Studio OS X 10.10 Yosemite (Clang/Autotools/Brew)"
# osx_image: xcode6.4
# env:
# - HOMEBREW_NO_AUTO_UPDATE=1
# - HOMEBREW_NO_ANALYTICS=1
# cache: ccache
# before_install: brew reinstall libtool # fix no sed
# install: ./1-setup-osx-brew.sh
# before_script:
# - ccache -s
# - ccache --set-config=compression=true
# script: ./travis.sh
# after_script: ccache -s # show ccache stats
# - os: osx
# name: "Synfig Studio OS X 10.13 High Sierra (Clang/Autotools/Brew)"
# osx_image: xcode10
# env:
# - HOMEBREW_NO_AUTO_UPDATE=1
# - HOMEBREW_NO_ANALYTICS=1
# cache: ccache
# oclint already uninstalled (fixed in Nov 2018)
#before_install: brew cask uninstall oclint # fix gcc installing
# install: ./1-setup-osx-brew.sh
# before_script:
# - ccache -s
# - ccache --set-config=compression=true
# script: ./travis.sh
# after_script: ccache -s # show ccache stats
- os: linux
name: "Lottie exporter Ubuntu 16.04 Xenial"
dist: xenial
before_install: ./1-setup-linux-native.sh
script: ./autobuild/lottie_test.sh
- os: linux
name: "Transifex push template Ubuntu 16.04 Xenial"
if: branch = translations # Job should run only on translations branch
dist: xenial
script: bash autobuild/transifex-push-translations.sh
- os: linux
name: "Translations validation Ubuntu 16.04 Xenial"
dist: xenial
script: bash autobuild/translations-validation.sh
allow_failures:
# - env: CMAKE=true
# - os: osx
- osx_image: xcode10
- name: "Test render engine for regressions"