mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
To get the after_failure line work, I had to move the inline build script to a separate script (util/travis-script.sh) The second script (util/travis-after-failure.sh) will output LastTest.log for cmake based builds and all files named test*.log for an autotools based build. Note: this commit also comes with a delibarate test failure to illustrate the Travis behaviour. It will be removed in the next commit.
17 lines
450 B
YAML
17 lines
450 B
YAML
# Test
|
|
language: c
|
|
compiler:
|
|
- gcc
|
|
# - clang
|
|
env:
|
|
- BUILDTYPE=cmake-make
|
|
- BUILDTYPE=cmake-ninja
|
|
- BUILDTYPE=autotools
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get build-dep -qq gnucash
|
|
- sudo apt-get install -qq swig xsltproc libdbd-sqlite3 cmake3 texinfo ninja-build
|
|
- sudo apt-get --reinstall install -qq language-pack-en language-pack-fr
|
|
script: ./util/travis-script.sh
|
|
after_failure: ./util/travis-after-failure.sh
|