Commit Graph

92 Commits

Author SHA1 Message Date
Ward Fisher
103e5a3ff5
Merge pull request #1385 from Unidata/mmapfix.dmh
Fix cmake wrt mmap
2019-05-02 11:09:12 -06:00
Ward Fisher
31d9826ea8 Added the missing USE_CC invocation for travis. 2019-05-01 10:56:46 -06:00
Dennis Heimbigner
c9d16d82d6 Fix cmake X mmap
supercede PR: https://github.com/Unidata/netcdf-c/pull/1384

Since we have an mmap user, undeprecate it and make sure
it works. Other changes:

* fix test cases to work with make -j
* fix exposed ncgen error.
2019-04-19 20:32:26 -06:00
Ward Fisher
415c19dffe Corrected syntax error. 2019-02-27 16:50:07 -07:00
Ward Fisher
b933a31d0c Some .travis.yml scaffolding. 2019-02-27 13:48:41 -05:00
Ward Fisher
b65bd9fca5 Turning off fortran tests again for now. 2019-01-08 16:40:33 -07:00
Ward Fisher
9b02df9472 Updated travis.yml to enable filter testing as part of the travis CI tests. 2018-10-02 17:41:52 -06:00
Ward Fisher
82c9788bb8 Correcting #1057, also adding fortran tests to travis-ci for the time being. 2018-07-11 13:30:53 -06:00
Ward Fisher
246b56dedd
Revert "fix cdf5 configure option" 2018-06-29 14:23:40 -06:00
Wei-keng Liao
a2a33b3a53 cmake boolean type is ON or OFF, not TRUE or FALSE 2018-06-28 15:43:20 -05:00
Ward Fisher
7d6f1f827d Noticed a missing '-e' 2018-05-10 16:03:24 -06:00
Ward Fisher
7c582ea7e2 Noticed a missing '-e' 2018-05-10 15:57:56 -06:00
Ward Fisher
3ba5acec5c Attempt to fix travis failure. 2018-05-10 15:34:21 -06:00
Ward Fisher
d727a94f4d Explicitly turn off cp on ubuntu images. 2018-05-10 14:53:29 -06:00
Ward Fisher
09ed08ce56 Tighten up the travis script. 2018-05-09 15:27:31 -06:00
Ward Fisher
3f72d34159 Another tweak. 2018-05-09 14:50:50 -06:00
Ward Fisher
f05d4d6399 Travis tweak. 2018-05-09 14:43:20 -06:00
Ward Fisher
90f2ef5e21 Tweaking docker run_serial script to accomdate older versions of git packaged with centos and fedora, but without incurring the penalty for ubuntu and other distros which ship with a new git that can handle cloning a shallow copy. 2018-05-09 14:15:27 -06:00
Ward Fisher
21f4b5f18b Removed clang based tests to speed up Travis CI. 2018-05-03 17:10:33 -06:00
Ward Fisher
769ccc6b58 Added centos, fedora to travis. 2018-05-03 16:59:37 -06:00
Ward Fisher
c8b5a13abd Forgot that cdf5 doesn't work on 32 bit platforms currently, disabled in travis. 2017-12-20 13:05:04 -07:00
Ward Fisher
a367ab9ef7 Turned CDF5 on for travis tests. 2017-12-19 13:53:16 -07:00
Ward Fisher
2e45037e08 Push the limits of parallel test. 2017-12-07 16:30:31 -07:00
Ward Fisher
9229e41e10 Updated travis config file with 4 processors. 2017-12-07 15:46:07 -07:00
Ward Fisher
4a1ff04f84 Dial down to serial ci tests to make sure the issue is parallel related. 2017-12-06 16:11:54 -07:00
Ward Fisher
c42bbd0ea2 Removed old file, updated travis file to allow for tests to run in parallel. 2017-12-05 12:17:40 -07:00
Ward Fisher
7e084c2aa6 Restored blocklist for travis, added another suffix. 2017-12-01 13:42:50 -07:00
Dennis Heimbigner
4db4393e69 Begin changing over to use strlcat instead of strncat because
strlcat provides better protection against buffer overflows.

Code is taken from the FreeBSD project source code. Specifically:
https://github.com/freebsd/freebsd/blob/master/lib/libc/string/strlcat.c
License appears to be acceptable, but needs to be checked by e.g. Debian.

Step 1:
1. Add to netcdf-c/include/ncconfigure.h to use our version
   if not already available as determined by HAVE_STRLCAT in config.h.
2. Add the strlcat code to libdispatch/dstring.c
3. Turns out that strlcat was already defined in several places.
   So remove it from:
	ncgen3/genlib.c
	ncdump/dumplib.c
3. Define strlcat extern definition in ncconfigure.h.
4. Modify following directories to use strlcat:
	libdap2 libdap4 ncdap_test dap4_test
   Will do others in subsequent steps.
2017-11-23 10:55:24 -07:00
Dennis Heimbigner
bf560c2013 fix regexp 2017-11-02 13:39:13 -06:00
Dennis Heimbigner
6214bc6a06 travistest 2017-11-02 13:37:21 -06:00
Ward Fisher
4111dcfe9e Propegated autoconf options in travis.yml 2016-10-24 17:21:15 -06:00
Ward Fisher
6198af95ad Turned of netcdf-4 where appropriate for AC checks. 2016-08-18 11:21:19 -06:00
Ward Fisher
69c70e487f Further refinement. 2016-08-10 09:50:36 -06:00
Ward Fisher
5204c3728f Carrying cmake options into autotools based builds. 2016-08-10 09:40:15 -06:00
Ward Fisher
bd3450676a Added NC3-only build to travis-ci. 2016-05-05 13:44:32 -06:00
Ward Fisher
2a9e49d0f9 Updated .travis.yml to include distcheck, perply this time. 2016-04-15 11:23:13 -06:00
Ward Fisher
93afd48624 Added distcheck to travis-ci test matrix. 2016-04-13 15:27:17 -06:00
Dennis Heimbigner
39e9cd0ffe Fix issues with Github pull request 187
(https://github.com/Unidata/netcdf-c/pull/187)
Primary problem was cmake build errors.
2016-01-08 12:55:11 -07:00
Ward Fisher
6c415b4ac9 Turned off CDash dashboard submission in travis-ci, as it's currently timing out causing a false-negative for travis-ci. 2015-12-31 15:01:17 -07:00
Ward Fisher
86ecb2c5a1 Trying to add signed/unsigned char tests. 2015-12-29 15:29:29 -07:00
Ward Fisher
30d2b09374 Putting travis configuration back the way it was for now. 2015-12-24 17:58:52 +00:00
Ward Fisher
9e5c03bdc0 Updated travis.yml 2015-12-24 17:21:13 +00:00
Ward Fisher
fce2f87a3c Updated travis to test both signed and unsigned chars. 2015-12-24 16:58:19 +00:00
Ward Fisher
9c4777c092 Added a host identifier to the docker run command in travis configuration. 2015-12-03 14:47:13 -07:00
Ward Fisher
17c748904b Turning on CDash at request of @dmh. 2015-12-03 14:13:14 -07:00
Ward Fisher
8a7fcf63ef Removing parallel from travis build. It just doesn't work reliably. 2015-12-02 15:17:32 -07:00
Ward Fisher
609e31748c Added parallel (openmpi) to travis CI. 2015-11-30 15:23:46 -07:00
Ward Fisher
1e564aa721 Redirected docker pull output to /dev/null for travis-ci, to prevent the command from blowing out the log (which is limited to 10k lines). 2015-11-23 18:17:16 -06:00
Ward Fisher
4cb66307b0 Collaped travis test matrix. 2015-11-23 17:53:32 -06:00
Ward Fisher
499a29fd4c Broke out travis build matrix a bit more. 2015-11-23 16:42:56 -06:00