summaryrefslogtreecommitdiff
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* CI: use ICC againAkim Demaille2020-01-191-0/+16
| | | | | | | | See https://github.com/nemequ/icc-travis/issues/15. Thanks to Jeff Hammond and Evan Nemerson for their help. * configure.ac (warn_common): Disable dubious warnings. * .travis.yml: Use ICC again.
* CI: do not specify the languageAkim Demaille2019-12-301-30/+54
| | | | | When we give travis the langugage, it overrides our envvars. Instead of the MATRIX_EVAL trick, just stop specifying the language.
* CI: remove ICC support, we can no longer use itAkim Demaille2019-12-301-29/+0
| | | | https://github.com/nemequ/icc-travis/issues/15
* CI: pass -O1 to GCC8 with sanitizersAkim Demaille2019-10-261-1/+2
| | | | | | | This build never finishes in the 50min credit given by Travis. See if with optimizations it works better. * .travis.yml: here.
* CI: formatting changesAkim Demaille2019-10-211-48/+24
| | | | | * .travis.yml: Use the single line form of lists, when reduced to a singletons.
* CI: rename jobsAkim Demaille2019-10-211-32/+34
| | | | | * .travis.yml (compile, test): Rename as... (dist, check): these, which are more traditional for GNU projects.
* bootstrap: relieve developpers from Gettext version mismatch issuesAkim Demaille2019-10-211-3/+0
| | | | | * .travis.yml (compile): Move the workaround from here... * bootstrap.conf (bootstrap_epilogue): to there.
* CI: try GCC9 and Clang9Akim Demaille2019-10-201-26/+48
| | | | | | | | | | | | | | The logs show: Disallowing sources: llvm-toolchain-bionic-8, ubuntu-toolchain-r-test To add unlisted APT sources, follow instructions in https://docs.travis-ci.com/user/installing-dependencies#Installing-Packages-with-the-APT-Addon * .travis.yml: Remove a few apt sources which are ignored in Bionic (e.g., see https://github.com/travis-ci/apt-source-safelist/issues/410). Where needed, use sources/sourceline instead. Also, don't use -DNDEBUG with older builds.
* CI: remove the symlink before creating itAkim Demaille2019-10-031-1/+3
| | | | | Currently we fail if we rerun a job that succeeded to push the tarball.
* CI: show git statusAkim Demaille2019-09-221-1/+4
|
* CI: disable ICCAkim Demaille2019-09-141-15/+16
| | | | | It seems that Intel changed something in their license management. https://github.com/nemequ/icc-travis/issues/15
* CI: always uninstall iccAkim Demaille2019-09-121-1/+1
|
* gnulib: updateAkim Demaille2019-09-081-5/+10
| | | | | | | | This update brings file from Gettext 0.20, which is not available on the CI yet. .travis.yml: Adjust. Use Bionic now that it's available.
* CI: more compilersAkim Demaille2019-09-081-36/+55
| | | | | | | * .travis.yml: Bionic is now available, with GCC8. GCC7 sanitizers work, but they are too longer: cover only part 1. Redefine part 1 and part 2 so that part 1 is really the core of the tests: not playing with POSIX and C++ compiler for C code.
* CI: fail fastAkim Demaille2019-09-081-1/+4
|
* CI: propagate sftp failuresAkim Demaille2019-09-081-1/+3
| | | | * .travis.yml (stage: "compile"): here.
* CI: avoid useless git costsAkim Demaille2019-09-081-7/+10
| | | | | | | | | Travis answered favorably to my suggestion to provide a means to disable git clone on some jobs (issue 7542). See https://docs.travis-ci.com/user/customizing-the-build/#disabling-git-clone. * .travis.yml: Disable git globally, enable it for i. the compile job, and ii. the test job on ICC which needs the install-icc.sh script.
* CI: factorAkim Demaille2019-09-081-10/+2
| | | | | * .travis.yml (Clang 7 libc++ and ASAN part 2): Reuse bits from "Clang 7 libc++ and ASAN part 1".
* CI: remove useless apt-get updateAkim Demaille2019-05-201-3/+1
| | | | | | The apt addons already ran it for us, it is not needed. * .travis.yml: here.
* CI: avoid useless git costsAkim Demaille2019-05-191-14/+16
| | | | | | | | | The final gain is small: 2h2min instead 2h9min. But that is still an improvement. * .travis.yml (git.depth): Make the clone very shallow. (git.submodules): Don't clone gnulib in test jobs. (jobs.include.compile.script): Do it here.
* CI: use a pipeline: first build the tarball, then check itAkim Demaille2019-05-191-29/+103
| | | | | | | | | | | | Build the tarball in one job, check it in many. Unfortunately no real gain in overall duration. With help from Clément Démoulins. * .travis.yml: here. Remove all the tricks that were used to be able to boostrap on old distros. (before_install): Merge into 'script', because before_install applies to all the jobs, and we don't want to run it for the 'compile' job.
* build: use gettext-hAkim Demaille2019-04-251-2/+5
| | | | | | | | | | | We were using the gnulib's gettext module with tricks in bootstrap.conf to avoid useless files. Instead, use gnulib's gettext-h module. * .travis.yml: Force Gettext 0.18.3 on Trusty. * bootstrap.conf: Use gettext-h instead of gettext. (excluded_files): Remove. * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.19.
* CI: update the ICC serial number for travis-ci.orgAkim Demaille2019-01-281-1/+2
| | | | | On travis-ci.org, there are five concurrent slaves, instead of three on travis-ci.com.
* CI: add dmd supportEduard Staniloiu2018-12-111-0/+4
| | | | * .travis.yml: here.
* CI: also display the examples' test suite logAkim Demaille2018-12-011-1/+1
| | | | * .travis.yml: here.
* CI: run on xenialAkim Demaille2018-11-251-7/+38
| | | | | | | | | | | | | | | Xenial (Ubuntu 16.04) is finally available on Travis. Let's use it. Among the changes: - Automake 1.14.1 -> 1.15.0 - Doxygen 1.8.6 -> 1.8.11 - Flex 2.5.35 -> 2.6.0, with plenty of new compiler warnings - Gettext 0.18.3 -> 0.19.7 - Graphviz 2.36.0 -> 2.38.0 - Texinfo 5.2 -> 6.1 * .travis.yml: here.
* CI: we don't need git showAkim Demaille2018-11-251-1/+0
| | | | * .travis.yml: Don't run it.
* CI: split the ASAN job in twoAkim Demaille2018-11-161-5/+22
| | | | | | | The following commit introduce even more compilations/runs than before, and with ASAN on, we go beyond to 50min credit from Travis. * .travis.yml (Clang 7 libc++ and ASAN): Split in two.
* CI: maximize chances of errors soonerAkim Demaille2018-11-051-37/+44
| | | | | * .travis.yml: Try clang and icc soon, so that we don't have to wait for the end of the run to know that they fail.
* CI: travis finally knows about llvm-toolchain-trusty-7Akim Demaille2018-10-061-4/+1
| | | | See https://github.com/travis-ci/apt-source-safelist/pull/392.
* CI: fixes for clang and asanAkim Demaille2018-09-261-20/+20
| | | | | | | | | | | Bison's test 464 (Syntax error as exception) fails on the CI. Do not use clang with asan on Ubuntu's libc++. https://bugs.llvm.org/show_bug.cgi?id=17379 * .travis.yml (Clang 7 libc++ and ASAN): New. (Clang 6 -O3 and libc++): Really use libc++. (Clang 5): Don't use libc++, nor asan (does not work either, same reason).
* CI: don't exitAkim Demaille2018-09-241-4/+4
| | | | | * .travis.yml: Prefer `false` to `exit`, as it completely ends the script (so we don't get the logs).
* CI: really use Clang 3.3 and 3.4, not 5.0Akim Demaille2018-09-241-23/+35
| | | | | | | | * .travis.yml: Don't define CC/CXX, it does not work. Use `[[...]]` instead of `[...]`. Show the compiler versions. (Clang 3.3, Clang 3.4): Specify the path to avoid using /usr/local/clang-5.0.0/bin's clang.
* CI: more compiler configurationsAkim Demaille2018-09-231-7/+32
| | | | | | * .travis.yml (GCC 8): Use sanitizers. (Clang 5 -O3): Remove, replaced by... (Clang 7 ASAN and libc++, Clang 6 -O3 and libc++): New.
* CI: change strategy to pass CXXFLAGS and the likeAkim Demaille2018-09-181-12/+12
| | | | | | | | | | | Putting them in the env is useless. We don't want to pass `CPPFLAGS="$CPPFLAGS"` to configure, as it means "set it to nothing" when $CPPFLAGS is not set, which is not what we want. This correctly started to use libc++, but it is not installed on the Ubuntu. We will see later if we can use it. * .travis.yml: Define CONFIGUREFLAGS, and pass it to configure.
* CI: also use GCC 4.7 and 4.8Akim Demaille2018-09-181-0/+22
| | | | * .travis.yml (matrix): here.
* CI: name the items of the matrixAkim Demaille2018-09-181-17/+34
| | | | * .travis.yml: here.
* CI: also check with ICCAkim Demaille2018-09-181-4/+24
| | | | | | | * build-aux/install-icc.sh: New. * .travis.yml (icc): New. Use -k to get as many errors as possible from the start. * src/complain.c (warnings_types): Use a more precise type.
* CI: be sure to exit on failuresAkim Demaille2018-09-181-4/+4
| | | | | a807cfa6eb1a5362ead0b7c99bdc8fd2f4f896da completely broke the whole point of having a CI: we always exit with success!
* CI: make sure `git describe` worksAkim Demaille2018-09-181-0/+6
| | | | | | | For some reasons, the checkout on travis may not have any tags, so `git describe` fails, so bootstrap fails. * .travis.yml: If git describe fails, install some tag.
* CI: install DoxygenAkim Demaille2018-09-181-3/+2
| | | | | * .travis.yml: here, so that its tests are not skipped. Remove valgrind: it's too expensive on the CI, and asan does the job.
* CI: use clang with libc++Akim Demaille2018-09-101-10/+10
| | | | | | GCC uses libstdc++. Let's also check libc++. * .travis.yml: here.
* CI: use address sanitizerAkim Demaille2018-09-101-0/+10
| | | | * .travis.yml (matrix): Use the latest (available) clang with asan.
* CI: sort the matrix in reverse-chronologicalAkim Demaille2018-09-101-41/+45
| | | | | | | There are only three builds at a time: show the result of modern compilers first. * .travis.yml (matrix): Sort in reverse-chronological.
* CI: Clang 6.0 is not availableAkim Demaille2018-09-091-31/+33
| | | | | | | | But Clang 3.3 and 3.4 are. * .travis.yml (addons): Remove, it appears to be ignore if the matrix also defines it. (matrix): Update.
* CI: more compiler configurationsAkim Demaille2018-09-081-2/+41
| | | | * .travis.yml: here.
* CI: show the version of the tools we useAkim Demaille2018-09-081-0/+10
| | | | | | | | | | | | | We have failures on Flex output, which are probably related to an old release. Let's check. In file included from src/scan-code-c.c:3: src/scan-code.c:2198:21: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param line_number ~~~~~~~~~~~~~~~~~^ * .travis.yml: here.
* CI: run more maintainer tests and show the logsAkim Demaille2018-09-081-3/+5
| | | | | | | | Running all these tests might be overkill: it is very long, and don't need full portability checks. Besides, some tests under Valgrind are too slow and get killed by the CI (timeout of 10min without output). * .travis.yml: here.
* CI: enable compiler warningsAkim Demaille2018-09-081-1/+1
| | | | | * .travis.yml: here. * README-hacking: We no longer aim at K&R C.
* CI: prepare for travisAkim Demaille2018-09-061-0/+128
* .travis.yml: New.