source: git/.travis.yml @ 8553bdb

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

[ci] Try xcode 9.3 and 7.3

9.4 didn't reproduce Mark's problem, and 6.4 failed to installed
ffmpeg from homebrew.

  • Property mode set to 100644
File size: 4.7 KB
RevLine 
[859d81a7]1dist: trusty
[9bf2959]2language: cpp
[abe14f2]3env:
4  global:
5    - HOMEBREW_PACKAGES='ffmpeg gettext gnu-tar netpbm proj wxmac'
[859d81a7]6matrix:
7  include:
8    - compiler: gcc
9      os: linux
10      sudo: false
11      addons:
12        apt:
13          packages:
14            - libwxgtk3.0-dev
15            - libavcodec-dev
16            - libavformat-dev
17            - libproj-dev
18            - libswscale-dev
19            - mesa-common-dev
20            - libglu1-mesa-dev
21            - libx11-dev
22            - libxext-dev
[c8bf1af]23            - ghostscript
[f950a144]24            - netpbm
[859d81a7]25            - x11proto-core-dev
26            - liblocale-po-perl
27            - unifont
28            - sgmltools-lite
29            - jadetex
30            - docbook-utils
31            - w3m
32      script:
33        - autoreconf -fiv
34        - ./configure
35        - make
[0a2d0af]36        - make check VERBOSE=1
[859d81a7]37    - os: osx
38      before_install:
39        - brew update
[abe14f2]40        # "brew install" unhelpfully errors out if any package listed is
41        # already installed and up-to-date, but travis change what's installed
42        # by default from time to time so it's brittle to just filter out those
43        # installed by default from the list we need.  So we ignore the exit
44        # status from "brew install", then check that "brew list --versions"
45        # says all the packages requested are installed.
46        - brew install $HOMEBREW_PACKAGES || true
47        - brew list --versions $HOMEBREW_PACKAGES
[7d7ee4d]48        - brew link --force gettext
[859d81a7]49        - sudo cpan -T -i local::lib < /dev/null
50        - sudo cpan -I -T -i Locale::PO < /dev/null
51        - echo '[ $SHLVL -eq 1 ] && eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"' >> ~/.bashrc
[abe14f2]52      script:
53        - autoreconf -fiv
54        - 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; touch doc/*.1 doc/manual.txt doc/manual.pdf doc/manual/stampfile
55#        - ./buildmacosx.sh
56        - ./configure
57        - make
58        - make check VERBOSE=1
[8aea905a]59    - os: osx
[3b25c5f]60      osx_image: xcode9.3
[8aea905a]61      before_install:
62        - brew update
[abe14f2]63        # "brew install" unhelpfully errors out if any package listed is
64        # already installed and up-to-date, but travis change what's installed
65        # by default from time to time so it's brittle to just filter out those
66        # installed by default from the list we need.  So we ignore the exit
67        # status from "brew install", then check that "brew list --versions"
68        # says all the packages requested are installed.
69        - brew install $HOMEBREW_PACKAGES || true
70        - brew list --versions $HOMEBREW_PACKAGES
[8aea905a]71        - brew link --force gettext
72        - sudo cpan -T -i local::lib < /dev/null
73        - sudo cpan -I -T -i Locale::PO < /dev/null
74        - echo '[ $SHLVL -eq 1 ] && eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"' >> ~/.bashrc
[abe14f2]75      script:
76        - autoreconf -fiv
77        - 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; touch doc/*.1 doc/manual.txt doc/manual.pdf doc/manual/stampfile
78#        - ./buildmacosx.sh
79        - ./configure
80        - make
81        - make check VERBOSE=1
[8aea905a]82    - os: osx
[3b25c5f]83      osx_image: xcode7.3
[8aea905a]84      before_install:
85        - brew update
[abe14f2]86        # "brew install" unhelpfully errors out if any package listed is
87        # already installed and up-to-date, but travis change what's installed
88        # by default from time to time so it's brittle to just filter out those
89        # installed by default from the list we need.  So we ignore the exit
90        # status from "brew install", then check that "brew list --versions"
91        # says all the packages requested are installed.
92        - brew install $HOMEBREW_PACKAGES || true
93        - brew list --versions $HOMEBREW_PACKAGES
[8aea905a]94        - brew link --force gettext
95        - sudo cpan -T -i local::lib < /dev/null
96        - sudo cpan -I -T -i Locale::PO < /dev/null
97        - echo '[ $SHLVL -eq 1 ] && eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"' >> ~/.bashrc
[859d81a7]98      script:
99        - autoreconf -fiv
[d2178bf]100        - 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; touch doc/*.1 doc/manual.txt doc/manual.pdf doc/manual/stampfile
[2305c11]101#        - ./buildmacosx.sh
102        - ./configure
103        - make
[0a2d0af]104        - make check VERBOSE=1
[9bf2959]105branches:
106  only:
107    - master
Note: See TracBrowser for help on using the repository browser.