source: git/.travis.yml @ 938fee8

stereo
Last change on this file since 938fee8 was d63c15c, checked in by Olly Betts <olly@…>, 6 years ago

[ci] macOS sed -i seems broken, use perl instead

  • 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
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        - brew install proj
42        - brew install wxmac
43        - brew link --force gettext
44        - sudo cpan -T -i local::lib < /dev/null
45        - sudo cpan -I -T -i Locale::PO < /dev/null
46        - echo '[ $SHLVL -eq 1 ] && eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"' >> ~/.bashrc
47      script:
48        - autoreconf -fiv
49        - 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
50#        - ./buildmacosx.sh
51        - ./configure
52        - make
53        - perl -i -pe 's/(^PROGS=.* )aven"/$1"/' tests/smoke.tst
54        - make check
55        - src/aven --version
56        - src/aven --help
57branches:
58  only:
59    - master
Note: See TracBrowser for help on using the repository browser.