Commit Graph

96 Commits

Author SHA1 Message Date
John Ralls
022d2b08e2 [CI]Work around new git security measure. This one works. 2022-04-12 16:10:58 -07:00
John Ralls
baffae88f8 [CI]Work around new git security measure. 2022-04-12 15:49:22 -07:00
Geert Janssens
0061e21c4f Expose test error logs directly in the action logs 2021-07-08 18:33:52 +02:00
John Ralls
ca6fcf8af7 Restore French localizations to stripped Docker image. 2021-04-30 12:28:33 -07:00
John Ralls
b8e22b3655 Fix archlinux dockerfile for github actions CI 2021-04-29 16:06:27 -07:00
John Ralls
ec949755ca Improve git-release-notes.pl to handle UTF8 and multiple langs in a commit. 2021-03-27 13:41:37 -07:00
John Ralls
2d456913f8 Improve filtering in git-release-notes.pl
Find and aggregate all translation commits to the program,
ignoring those to the glossary and summary-only non-translation L10N items.
Ignore summary-only merge commits.
2021-03-26 11:01:16 -07:00
John Ralls
610391b762 Fix Arch Linux CI
It  was missing wayland-protocol and so not installing gtk3.
2021-03-12 16:14:19 -08:00
John Ralls
ba0a21c715 Add /usr/bin/core_perl to the PATH for ArchLinux Dockers.
Apparently perl's PKGCONFIB doesn't do so any more.
2021-02-13 11:43:08 -08:00
Frank H. Ellenberger
65c0e3c914 Fix a typo in CI macos 2021-01-30 02:19:21 +01:00
John Ralls
3a323ec59f Remove Travis CI.
It has become unreliable and will cease providing free access soon.
2020-12-14 09:13:54 -08:00
John Ralls
4332c5841f Merge branch 'github-action' into maint; adds macOS unit tests. 2020-11-17 16:56:19 -08:00
John Ralls
4b7bc94e9d Implement Github-actions tests on macOS. 2020-11-17 16:55:42 -08:00
Ralf Habacker
1cce12f8be Add script to add slots with key 'equity-type' and value 'opening-balance' to detected opening balance accounts 2020-11-16 08:51:51 +01:00
John Ralls
0b670680d7 Implement CI tests on ArchLinux via docker container. 2020-11-12 19:32:10 -08:00
John Ralls
dad4f0cd03 [git-release-notes.pl] html-escape strings in the html output. 2020-07-25 14:23:54 -07:00
Geert Janssens
bbeb9a2b62 Drop all gnc-module dependencies and includes from compilation units that no longer use it
This also drops the python wrapper for gnc-module. As for the guile wrappers,
python should use other means of loading our shared libraries.

This commit required a few tweaks to the dependency chain as some units
inherited dependency information from gnc-module's public dependency
interface.
2020-04-24 22:16:24 +02:00
Christopher Lam
e85b28f00f Merge remote-tracking branch 'upstream/maint' 2020-03-01 21:31:21 +08:00
Geert Janssens
d7eb24f205 Travis - don't try to copy the removed afterfailure file to the test container 2020-02-29 13:43:33 +01:00
Geert Janssens
b5dfef628e Travis - use ctest built-in feature to verbosely log test failures
Setting CTEST_OUTPUT_ON_FAILURE will cause ctest to log all
output from failing tests (and only from failing tests).
This will reduce our ci output in case of failures as our
homebrew script 'afterfailure' would output all test logs
in case of failure not only the output of failed tests.
2020-02-29 12:58:18 +01:00
Geert Janssens
2b70b1c1e4 Fix travis - needs gwenhywfar gtk3 devel package 2020-02-24 16:46:54 +01:00
Geert Janssens
45cfb8937a Merge branch 'maint'
Resolves most merge conflicts. The only bit I was unable
to merge from maint into master is the use of match-lambda
in category-barchart.scm. This will have to be redone manually.
2020-01-14 19:56:35 +01:00
John Ralls
3bab92367a Improve bug-fix detection and reformatting in release-notes script. 2019-12-28 13:35:51 -08:00
Geert Janssens
8dc0e65e56 CI - limit error output to failed tests only
Do so by rerunning these tests in verbose mode
Obviously that's only possible if ctest had already run
which is tested by evaluating the existence of
directory /build/Testing
2019-10-06 18:31:20 +02:00
Geert Janssens
9214f2ed5b Merge branch 'maint' 2019-09-18 22:42:48 +02:00
luz.paz
65bb60d621 Fix typos for gnuchash/ doc/ bindings/ and misc.
Typos found via `codespell -q 3 -D ~/Projects/codespell/codespell_lib/data/dictionary.txt -S *.po,./po,*.min.js,./ChangeLog*,./NEWS,./doc/README*,./AUTHORS,./libgnucash/tax/us/txf-de*,./data/accounts -L ans,cas,dragable,gae,iff,iif,mut,nd,numer,startd,stoll`
2019-09-13 20:26:03 -04:00
John Ralls
5a42941af4 Remove setting python to python2 in arch-testscript.
GnuCash now works with python3.
2019-09-06 16:20:39 -07:00
John Ralls
d55d0a0e30 Change Ubuntu test platform on master to 18.04. 2019-09-06 12:30:34 -07:00
Christian Gruber
c53f07c170 fixup! Remove support for GoogleTest/GoogleMock <= v1.8.0 2019-09-05 21:35:57 +02:00
John Ralls
29acfe85bf Merge branch 'maint' 2019-06-29 17:39:22 -07:00
John Ralls
b4fbec5b12 Use warnings instead of perl -w.
perl -w breaks env on Debian.
2019-06-29 14:25:21 -07:00
John Ralls
0543a29012 Merge Dawid Wróbel's uft-8 obfuscation fix into maint. 2019-06-28 11:49:57 -07:00
John Ralls
580696681a Replace gitlog2ul.sh with git-release-notes.pl.
git-release-notes.pl finds the last release on its own and formats
the log output separately as text for NEWS and HTML for the announcements.
2019-06-27 16:43:43 -07:00
Dawid Wróbel
38a3d62f00
Check and UTF8-encode the names if needed
Fixes the "Wide character in subroutine entry" error for some UTF8 entries
2019-06-23 19:51:21 -04:00
Geert Janssens
c1324304ca Use Ubuntu 16.04 as oldest testbed on travis
This needed a few tweaks to the docker file worth mentioning:
- tzdata is not installed by default, resulting in test-gnc-timezone to fail
- there were a couple of debconf warnings
  * missing apt-utils package => added it to the list
  * no interactive terminal for autoremove => forced non-interactive mode
- in addition I have made building the docker file more verbose in order
  to catch such issues more easily in the future. If this turns out to be
  too distracting I can undo that part again.
2019-06-12 15:17:29 +02:00
Geert Janssens
15a35e6a3b Housekeeping - replace plenty of http links with https
There are more, but these are most common ones.
There are also a number of urls that don't behave well when https, so those are skipped
At some point I have also started marking non-working URLs as [DEAD LINK], though
that's not a full coverage.
2019-06-06 15:52:30 +02:00
Geert Janssens
67dbfca0e7 Adapt our archlinux docker config to changes in the upstream DockerHub container definition
* archlinux renamed its container from base/archlinux to archlinux/base
* gettext is no longer installed by default
2019-02-07 15:41:11 +01:00
Christian Stimming
7c767604ff Copy obfuscate script from wiki to here, with minor improvements.
https://wiki.gnucash.org/wiki/ObfuscateScript
2019-02-04 09:32:51 +01:00
John Ralls
45097001aa Uncomment the deb-src urls in /etc/apt/sources.list in the Ubuntu docker. 2018-10-19 10:58:29 -07:00
John Ralls
15cd3596a9 Fix docker command from previous. 2018-10-19 10:29:57 -07:00
John Ralls
24cf5a206b Cat the ubuntu sources.list to see why apt-get is failing. 2018-10-19 09:52:54 -07:00
Geert Janssens
a9f35ed7ae Lowercase cmake commands
A huge bikeshed fest but it distracted me enough to do it anyway.
2018-05-03 23:18:15 +02:00
Geert Janssens
02c69a7933 Handle situation where gettext 0.19.6 is not available
By default we require gettext 0.19.6 as this is needed to generate a translated version of gnucash.desktop and gnucash.appdata.xml.
However this version is not available on some platforms (most notably our own ubuntu 14.04LTS travis instance).
By setting ALLOW_OLD_GETTEXT=ON, the build configuration falls back to generating untranslated versions of said files instead.
2018-02-27 22:38:27 +01:00
Geert Janssens
32a196122f Properly detect git in case of linked worktree 2018-01-30 19:21:39 +01:00
Geert Janssens
ec3ca0430a Fix test-cashflow-barchart.scm for guile 2.2
At the same time enable guile 2.2 for our arch ci test
so gnucash gets ci testing with that version as well
2018-01-26 19:00:31 +01:00
Geert Janssens
85bfbd8e82 Some minor cleanups after the autotools removal
This includes removal of the now unused make-gnucash-potfiles.in,
checking for CMakeLists.txt rather than Makefile.am in gnc-vcs-info,
upating the HACKING file,
and generally updating references to autotools.

I have kept "Makefile.*" exclude patterns in our CMakeLists.txt files
because they may still be lingering in the source directory from
previous autogen.sh runs. At some point these should probably be
removed as well still, together with the gitignore references to them.
2018-01-26 18:22:48 +01:00
Rob Gowin
54ac7f23e0 Remove Autotools 2018-01-13 12:52:57 -06:00
lmat
04a4849967 Removing unneeded build flag from docker 2017-11-28 16:09:23 -05:00
John Ralls
115c0bf4a4 Merge Aaron Law's branch 'buildfix' to unstable. 2017-10-27 10:13:06 -07:00
lmat
7a0d5a5735 Updating home directory to fix CI error messages 2017-10-27 11:57:06 -04:00