source: git/.travis.yml @ 2907665

RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereo-2025walls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Last change on this file since 2907665 was 8b17f0b, checked in by Olly Betts <olly@…>, 7 years ago

[ci] Bodge survexport.1 for macOS build

We can't easily install the necessary tools to generate the man pages
there, so we unpack them from the last release, but survexport.1 is
new since then.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1dist: trusty
2language: cpp
3matrix:
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
55branches:
56  only:
57    - master
Note: See TracBrowser for help on using the repository browser.