Fill in more easy adjustments of existing messages
[survex.git] / .travis.yml
blob97de194cc67a313452b719207a50e4e04f4e85eb
1 dist: trusty
2 language: cpp
3 matrix:
4   include:
5     - compiler: gcc
6       os: linux
7       sudo: false
8       addons:
9         apt:
10           packages:
11             - libwxgtk3.0-dev
12             - libavcodec-dev
13             - libavformat-dev
14             - libproj-dev
15             - libswscale-dev
16             - mesa-common-dev
17             - libglu1-mesa-dev
18             - libx11-dev
19             - libxext-dev
20             - ghostscript
21             - netpbm
22             - x11proto-core-dev
23             - liblocale-po-perl
24             - unifont
25             - sgmltools-lite
26             - jadetex
27             - docbook-utils
28             - w3m
29       script:
30         - autoreconf -fiv
31         - ./configure
32         - make
33         - make check VERBOSE=1
34     - os: osx
35       before_install:
36         - brew update
37         - brew install ffmpeg
38         - brew install gettext
39         - brew install gnu-tar
40         - brew install netpbm
41         # proj 5.0.0 has a bug which breaks our testsuite
42         # - brew upgrade proj
43         - brew install wxmac
44         - brew link --force gettext
45         - sudo cpan -T -i local::lib < /dev/null
46         - sudo cpan -I -T -i Locale::PO < /dev/null
47         - echo '[ $SHLVL -eq 1 ] && eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"' >> ~/.bashrc
48       script:
49         - autoreconf -fiv
50         - V=`sed -e 's/^AC_INIT[^,]*, *\[\([^]]*\)\].*/\1/p;d' configure.ac` ; curl https://survex.com/software/$V/survex-$V.tar.gz | gtar --strip-components=1 --skip-old-files -zxf - ; ls -lrt lib ; touch lib/unifont.pixelfont lib/preload_font.h; echo ; ls -lrt doc; mv -f doc/cad3d.1 doc/survexport.1; touch doc/*.1 doc/manual.txt doc/manual.pdf doc/manual/stampfile
51 #        - ./buildmacosx.sh
52         - ./configure
53         - make
54         - make check VERBOSE=1
55 branches:
56   only:
57     - master