source: git/.travis.yml @ e60808a1

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

[ci] Try tests individually on macOS

Travis is repeatedly timing out after 10 minutes of silence.

  • Property mode set to 100644
File size: 2.1 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        # 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; touch doc/*.1 doc/manual.txt doc/manual.pdf doc/manual/stampfile
51#        - ./buildmacosx.sh
52        - ./configure
53        - make
54        - perl -i -pe 's/(^PROGS=.* )aven"/$1"/' tests/smoke.tst
55#        - make check
56        - cd tests && env VERBOSE=1 ./cavern.tst
57        - cd tests && env VERBOSE=1 ./diffpos.tst
58        - cd tests && env VERBOSE=1 ./extend.tst
59        - cd tests && env VERBOSE=1 ./3dtopost.tst
60        - src/aven --version
61        - src/aven --help
62        - cd tests && env VERBOSE=1 ./smoke.tst
63        - cd tests && env VERBOSE=1 ./aven.tst
64branches:
65  only:
66    - master
Note: See TracBrowser for help on using the repository browser.