Commit Graph

47 Commits

Author SHA1 Message Date
clanmills
8e988d33b3 Install curl! 2020-05-20 09:23:48 +01:00
clanmills
89ae619fac Install gtest 1.8.0 from source (see #575) 2020-05-20 09:14:52 +01:00
clanmills
51801bdd09 1.8.0-lp151.2.3 2020-05-20 08:42:02 +01:00
clanmills
3c5a0ce8d4 And another way to get gtest 1.8.0 2020-05-20 07:34:15 +01:00
clanmills
2832c4e881 Try a different way to install gtest1.8 2020-05-20 07:27:55 +01:00
clanmills
1b82c6a74e Need gtest 1.8 on OpenSuse to build with C++98 2020-05-20 06:43:51 +01:00
clanmills
5c4e4ce9a1 -DCMAKE_CXX_STANDARD=98 " (add a space)! 2020-05-19 23:49:28 +01:00
clanmills
3f24fdb842 Add -DCMAKE_CXX_STANDARD=98 2020-05-19 23:28:48 +01:00
clanmills
cb28f833e4 Once more, try to calm compiler output with -DCMAKE_CXX_FLAGS=-Wno-deprecated 2020-05-19 22:53:44 +01:00
clanmills
d2d73a70e8 Add -DCMAKE_CXX_FLAGS=-Wno-deprecated to stop the CI job logs from overflowing. 2020-05-19 22:24:33 +01:00
clanmills
d76d5345c4 Use make -j 2 (can this fail if there's only one core?) 2020-05-08 09:29:49 +01:00
clanmills
c69c6d0848 tidy up ci and test scripts 2020-05-08 08:23:17 +01:00
Luis Diaz Mas
b7445fb2e4 Fix OSX build 2020-03-27 11:20:41 +01:00
mergify[bot]
0e3fc867b2 [ci] Install diffutils in the Fedora container (#1052)
diff got removed from the base image but it required for the tests to run

(cherry picked from commit bae0a773516edc575967f35befab1b3a92fb6e4d)
2019-11-14 14:33:56 +01:00
Dan Čermák
78fc0dc5d0
[ci] Stop symlinking python36 to python3 on CentOS
CentOS recently started to provide python3 by default obsoleted python36. Our
manual hack broke the test suite and is no longer required.

(cherry picked from commit e22c97e1cee806b9e7ecf7a06c31dab959c6c31c)
2019-10-01 23:39:17 +02:00
Dan Čermák
49970cd820
[ci] Bump version of the GitLab CI containers and Vagrant boxes
(cherry picked from commit dc338f9341925740a2f4903a62e0aba3cc0bf722)
2019-10-01 23:39:11 +02:00
Luis Diaz Mas
ef4315fe28 appveyor: upgrate to python 3.7 and conan 1.17.2
- Also upgrade travis builder to the same conan version
- Different versions of libcurl/libopenssl for appveyor/travis
2019-07-27 08:18:57 +02:00
Luis Díaz Más
bfd659a63e Conan: Updates to fix sudden linkage issues
We suddenly started to have some linking issues in the 0.27 branch after
the libcurl packages were updated in the conan-center repositories.
After some experimentation I took the following steps to fix up the
situation:

- Update conan to latest version
- Update of libcurl to the latest version available
- Use libcurl static libraries

Note that the change to use static libraries is just to make the
deployment step as easier as possible in the travis builds.
2019-07-13 09:04:22 +02:00
Luis Díaz Más
daf7e15d61 travis: use newer xcode version (fix build) 2019-04-07 16:50:15 +02:00
Dan Čermák
eb107da08f [ci] Refactor ci/test_build.py to allow customizations of the build matrix
(cherry picked from commit ee6f1de028534019d8ecfd18de9b77b9b4208cbe)
2019-03-03 08:44:20 +01:00
Dan Čermák
36eb62c025
[ci] Run upgrade in Archlinux container
This should fix issues like this one:
https://gitlab.com/D4N/exiv2/-/jobs/160300883

(cherry picked from commit 64c753f76b225218120d77b985c2472932169285)
2019-02-26 11:55:46 +01:00
Dan Čermák
e408745beb
[CI] Correct the name of the Archlinux container on Dockerhub
- Arch migrated their container from the base account to the archlinux account
- The container got severely stripped down: there is no awk, diff, which, grep
  => we need to preinstall these, otherwise the distro detection function fails

(cherry picked from commit 73739735eb636fc9db9dab2606588c7a930e2e8b)
2019-02-09 13:00:05 +01:00
Dan Čermák
f3caab32cc
[CI] change ci/install_dependencies shebang from bash to sh
- the script needs to be able to bootstrap everything even on platforms where we
  don't have bash
- drop function which is bash specific

(cherry picked from commit 9f01b86d2219d2f4cbb23730bba79c2b779621a2)
2019-02-09 12:59:36 +01:00
Dan Čermák
e9975c1457
[CI] Remove utils.source in the Vagrant provisioning scripts
=> we no longer need the shared volume, which is broken on Alpine Linux

(cherry picked from commit 07cb39bb06ef9d5cfb4100a6c8da66f509d067f5)
2019-02-09 12:58:43 +01:00
Dan Čermák
4151ad4c15
[ci] Do not symlink python36 to python3 if it already exists
CentOS now provides it's own symlink of python3 -> python34, so we either remove
it first or symlink if that file doesn't exist yet.
This fixes #666.

(cherry picked from commit 045c8b32927720ece265e01d8a80ce782692a315)
2019-01-27 10:56:53 +01:00
Luis Diaz Mas
dbed8472b9 conan: update gtest version and way in which we create the conan profile
- use default profile
- Use libstc+11 for the conan profile
- gtest-1.8.0 for MSVC < 12.
2019-01-13 10:11:00 +01:00
Luis Diaz Mas
06c41eab35 conan: update conan version to 1.11.2 2019-01-12 23:18:44 +01:00
Luis Diaz Mas
0810af3ea5 travis: enable webready/curl 2019-01-12 23:15:19 +01:00
Luis Díaz Más
2269708736 CI: New check for detecting issues with the installation of public headers 2018-11-16 20:30:52 +01:00
Luis Diaz Mas
ad7754d89c CI: Do not install gettext. Disable NLS on OSX 2018-11-13 20:12:58 +01:00
Luis Díaz Más
8026e39d66 CI: Update conan version to 1.9.0 2018-11-06 17:42:53 +01:00
Luis Díaz Más
a6d82633c3 Enable WARNINGS_AS_ERRORS in CI jobs.
- Move the settings to other cmake file. This will not be used for XMP code
- Disable WARNINGS_AS_ERRORS for VS2008 and VS2010
2018-09-12 19:22:31 +02:00
Luis Díaz Más
e3a75ede85 Disable verbosity in make call 2018-09-12 19:22:31 +02:00
Dan Čermák
0f43d0f49d [Travis CI] Add new matrix entry: run test suite under Valgrind 2018-08-30 16:26:56 +02:00
Dan Čermák
bf43cbbccc [testsuite] Set env var TZ in redmine issue 1054 & remove skip
The manual export TZ=UTC in run.sh is thereby no longer needed
2018-08-30 16:26:27 +02:00
Dan Čermák
da7239cf74 [Travis CI] Enable sanitizers for gcc & OSX builds 2018-08-27 17:22:33 +02:00
Luis Diaz Mas
2540981aae travis-osx: do not install libssh openssl (already installed) 2018-08-21 13:32:37 +02:00
Luis Diaz Mas
8ba9422ba3 travis: Enable coverage reports in gcc build
* I also had to update the conan version to fix some issues in CI.
* Codecov reports are now added to the README.md and to each PR.
2018-07-31 23:43:46 +02:00
Luis Diaz Mas
59585fa3af [Travis] export TZ=UTC before running tests
This is needed in some tests which are using exiv2json.
It seems that during metadata conversion, the dates are converted from the
original timezone (which seems to be saved in xmp) into the local time zone.
2018-07-31 18:18:14 +02:00
Dan Čermák
664e93c057 [travis] Enable ASAN for the test suite 2018-07-29 00:20:43 +02:00
Dan Čermák
7ac40ba0b2 [CI] Move CCache config out of python build script 2018-06-07 23:45:52 +02:00
Dan Čermák
653814afb0 [testsuite] Allow setting the binary location for make tests 2018-06-07 10:19:59 +02:00
Dan Čermák
61dbba1396 [travis] Don't run python tests twice
make tests already runs the python test suite, no need to do so again
2018-05-24 11:06:18 +02:00
Dan Čermák
de33dbc497 Add Vagrant VMs & combine it with gitlab-ci
- add Vagrantfile to contrib/vms
- add custom provisioning via shell scripts
- move gitlab-ci before_script: to ci/install_dependencies.sh which is also used
  by vagrant
- change COPR setup on CentOS 7 (yum-plugin-copr does not seem to work)
2018-05-24 11:04:30 +02:00
Luis Díaz Más
e440e40f32 ci: run make with VERBOSE=1
This helps to identify compilation/linking issues
2018-05-22 22:53:18 +02:00
Dan Čermák
fe5ca11396 [travis] Move travis scripts to ci/ folder 2018-05-16 17:14:13 +02:00
Dan Čermák
943ba1773e [GitLab] Add .gitlab-ci.yml
- add a GitLab CI configuration file to run a pipeline on the major Linux
  distros
- add a build script that builds all build combinations of exiv2 & runs the test
  suite
2018-05-16 12:46:40 +02:00