forked from vslavik/poedit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (59 loc) · 1.85 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
sudo: required
dist: trusty
language: cpp
compiler: gcc
# dependencies for building Poedit on old Ubuntu:
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:vslavik/poedit'
- sourceline: 'deb http://repos.codelite.org/wx3.0.2/ubuntu/ trusty universe'
key_url: 'http://repos.codelite.org/CodeLite.asc'
packages:
- gcc-6
- g++-6
- asciidoc
- xsltproc
- xmlto
- libexpat1-dev
- libdb++-dev
- libboost-dev
- libboost-system-dev
- libboost-regex-dev
- libboost-thread-dev
- libboost-iostreams-dev
- liblucene++-dev
- libicu-dev
- libwxgtk3.0-dev
- libgtk2.0-dev
- libgtkspell-dev
- libcld2-dev
- libcpprest-dev
- libsecret-1-dev
env:
- REAL_CC=gcc-6 REAL_CXX=g++-6
before_install:
# work around Travis being difficult, see https://github.com/travis-ci/travis-ci/issues/6633
- export CC=$REAL_CC CXX=$REAL_CXX
# git submodules needed for Linux:
- git submodule update --init src/json
script:
- scripts/travis-check-translations.sh
# don't build directly, create a tarball first and try building from that
- ./bootstrap && ./configure && make dist && make distcheck
after_failure:
- test -f Makefile || cat config.log
git:
submodules: false
cache: apt
deploy:
provider: releases
api_key:
secure: fkelxNMcGoNY4MT30dEiEUE53cMkhtmr44Y7iSEkOGmfeG9ReUqVIk1nd7027iehzdhhcov57XwHg49KA+AWpQGvEbLkRNRazOxSGFL9o/P/Rzft/tvKP0sxcRF5RUVo0b5J5wlsIKSlbjDqGu9CM+G4eyK0D2jo/XPzsv9akKQ=
skip_cleanup: true
file: poedit-2.0beta2.tar.gz
on:
repo: vslavik/poedit
tags: true
all_branches: true