1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-18 07:25:14 -05:00
Commit Graph

49 Commits

Author SHA1 Message Date
Jay Satiro
d267dd2c13 travis: enable apt retry on fail
This is a workaround for an unsolved travis issue that is causing CI
instances to sporadically fail due to 'unable to connect' issues during
apt stage.

Ref: https://github.com/travis-ci/travis-ci/issues/8507
Ref: https://github.com/travis-ci/travis-ci/issues/9112#issuecomment-376305909
2018-03-26 18:29:30 -04:00
Sergei Nikulov
22e56194e3
travis-ci: enable -Werror for CMake builds (#2418) 2018-03-22 16:35:33 +03:00
Marcel Raad
828187d86b
travis: update compiler versions
Update clang to version 3.9 and GCC to version 6.

Closes https://github.com/curl/curl/pull/2345
2018-02-28 07:36:31 +01:00
Daniel Stenberg
bb5017704a
travis: add build with iconv enabled
... to verify it builds and works fine.

Ref: https://curl.haxx.se/mail/lib-2017-09/0031.html

Closes #1872
2018-02-15 14:18:34 +01:00
Jay Satiro
8eff32f0bf
travis: use pip2 instead of pip
.. since now mac osx image expects pip2 or pip3, and doesn't know pip:

0.01s$ pip install --user cpp-coveralls
/Users/travis/.travis/job_stages: line 57: pip: command not found

Ref: https://github.com/travis-ci/travis-ci/issues/8829

Closes https://github.com/curl/curl/pull/2133
2017-12-02 11:53:11 +01:00
Nikos Mavrogiannopoulos
05675ab5a3
.travis.yml: added build --with-libssh
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2017-12-01 17:35:15 +01:00
Daniel Stenberg
270494e1a0
travis: add boringssl build
Uses a separate build without --enable-debug and no valgrind.

The debug option causes far too many warnings in boringssl's headers
(C++ comments, trailing commas etc).  Valgrind triggers some false
positive errors in thread-local data used by boringssl.

Closes #2118
2017-11-30 08:16:32 +01:00
Patrick Monnerat
c675c40295 travis: add a job with brotli enabled 2017-11-05 15:38:17 +01:00
Max Dymond
2de63ab179
travis: exit if any steps fail
We don't expect any steps to fail in travis. Exit the script if they do.

Closes #1966
2017-10-23 08:59:38 +02:00
Max Dymond
4f38db1d28
fuzzer: move to using external curl-fuzzer
Use the external curl-fuzzer repository for fuzzing.

Closes #1923
2017-10-04 15:33:36 +02:00
Daniel Stenberg
1a072796d3
travis: on mac, don't install openssl or libidn
- openssl is already installed and causes warnings when trying to
  install again

- libidn isn't used these days, and homebrew doesn't seem to have a
  libidn2 package to replace with easily

Closes #1895
2017-09-18 22:53:47 +02:00
Isaac Boukris
9bba664e02
tests: enable gssapi in travis-ci linux build
Closes https://github.com/curl/curl/pull/1687
2017-09-15 14:09:20 +02:00
Daniel Stenberg
7207aaa696
travis: add build without HTTP/SMTP/IMAP 2017-09-11 00:26:14 +02:00
Daniel Stenberg
6b585b1183
travis: add c-ares enabled builds linux + osx
Closes #1868
2017-09-07 10:38:16 +02:00
Max Dymond
57001ce3bb ossfuzz: Move to C++ for curl_fuzzer.
Automake gets confused if you want to use C++ static libraries with C
code - basically we need to involve the clang++ linker. The easiest way
of achieving this is to rename the C code as C++ code. This gets us a
bit further along the path and ought to be compatible with Google's
version of clang.
2017-09-02 11:07:55 +02:00
Max Dymond
efeb4a3176
ossfuzz: moving towards the ideal integration
- Start with the basic code from the ossfuzz project.
- Rewrite fuzz corpora to be binary files full of Type-Length-Value
  data, and write a glue layer in the fuzzing function to convert
  corpora into CURL options.
- Have supporting functions to generate corpora from existing tests
- Integrate with Makefile.am
2017-09-01 11:22:51 +02:00
Daniel Stenberg
ca9630f128
travis: add metalink to some osx builds
Closes #1790
2017-08-16 13:31:13 +02:00
Max Dymond
8de5e409c5
coverage: Use two coveralls commands to get lib/vtls results
closes #1747
2017-08-16 12:14:56 +02:00
Daniel Stenberg
b53b4e4424
travis: build the examples too
to make sure they keep building warning-free

Closes #1777
2017-08-14 23:25:54 +02:00
Daniel Stenberg
65c147a467
travis: test cmake build on tarball too
Could've prevented #1755
2017-08-12 17:56:47 +02:00
Daniel Stenberg
478596b34b
travis: verify "make install"
Help-by: Jay Satiro
Closes #1753
2017-08-10 10:49:17 +02:00
Marcel Raad
b7386c0ac9
travis: explicitly specify dist
This makes the builds more reproducible as travis is currently rolling
out trusty as default dist [1]. Specifically, this avoids coverage
check failures when trusty is used as seen in [2] until we figure out
what's wrong.

[1] https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
[2] https://github.com/curl/curl/pull/1692

Closes https://github.com/curl/curl/pull/1725
2017-08-04 09:59:42 +02:00
Daniel Stenberg
fdb163c73a travis: BUILD_TYPE => T
(to make the full line appear nicer on travis web UI)
2017-08-04 00:07:08 +02:00
Daniel Stenberg
2b7ce3f56d travis: add osx build with darwinssl
Closes #1706
2017-08-04 00:07:08 +02:00
Daniel Stenberg
1767adf439 travis: build osx with libressl too 2017-08-02 12:50:30 +02:00
Daniel Stenberg
23b4a05210 travis: build osx with openssl too 2017-08-02 12:50:30 +02:00
Max Dymond
ffd3162c60 travis: install libidn2
Install libidn2 to increase test coverage (IDN tests)

Closes https://github.com/curl/curl/pull/1673
2017-07-12 22:34:33 -04:00
Marcel Raad
7333b497a0
travis: enable warnings also in release mode
... to get warnings also on Linux/GCC and OSX/clang.

Closes https://github.com/curl/curl/pull/1666
2017-07-12 22:51:10 +02:00
Max Dymond
51ccc4850a travis: install libssh2
Install libssh2 to increase test coverage (SFTP, SCP)
2017-07-12 21:43:33 +02:00
Daniel Stenberg
ca3545d17f travis: install stunnel 2017-07-07 17:25:43 +02:00
Daniel Stenberg
8b78f7c23d travis: detect and use valgrind for normal builds
Closes #1653
2017-07-07 16:58:08 +02:00
Daniel Stenberg
7bcaa1aa27 travis: add SMB, DICT, TELNET torture to coverage test 2017-07-07 14:42:45 +02:00
Daniel Stenberg
efedafe48a travis: do more tests in the coverage run
I added a selection of torture and event tests that run "fast enough"
2017-07-07 10:58:33 +02:00
Daniel Stenberg
84a317cf17 travis: install nghttp2 on linux builds
Closes #1642
2017-07-04 23:04:06 +02:00
Daniel Stenberg
fc2e81c38b travis.yml: use --enable-werror on debug builds
... to better detect and fault on compiler warnings/errors

Closes #1637
2017-07-04 10:27:36 +02:00
Marcel Raad
c1dfc8a071
travis: enable typecheck-gcc warnings
- switch debug and release configurations so that we get an optimized
  build with GCC 4.3+ as required by typecheck-gcc
- enable warnings-as-errors for release builds
  (which have warnings disabled)

Closes https://github.com/curl/curl/pull/1595
2017-06-21 12:28:12 +02:00
Simon Warta
f541f7b94a ci: whitelist branches to avoid testing feature branches twice 2017-06-21 09:52:44 +01:00
Daniel Stenberg
0feb762fc0 travis: do the distcheck test build out-of-tree as well 2017-06-20 09:37:44 +02:00
Daniel Stenberg
e100afb4d8 travis: let some builds *not* use --enable-debug
typecheck-gcc and other things require optimized builds

Closes #1544
2017-06-06 14:40:57 +02:00
Daniel Stenberg
7bbb78c741 travis: add coverage, distcheck and cmake builds
Closes #1534
2017-06-04 00:16:41 +02:00
Daniel Stenberg
5091e18e89 travis: run tests-nonflaky instead of tests-full 2017-03-22 10:55:10 +01:00
Sergei Nikulov
db3887632c travis: removed option to rebuild autotool from source
Fixes #943
2016-08-03 13:25:32 +02:00
Sergei Nikulov
120fe1a22d travis: fix OSX build by re-installing libtool
Apparently due to a broken homebrew install

fixes #934
Closes #939
2016-08-01 15:08:53 +02:00
Jay Satiro
cb9ba5cf8d Revert "travis: Install libtool for OS X builds"
Didn't work.

This reverts commit 50723585ed.
2016-07-28 00:52:44 -04:00
Jay Satiro
50723585ed travis: Install libtool for OS X builds
CI is failing due to missing libtoolize, so I'm trying this.
2016-07-28 00:36:55 -04:00
Jactry Zeng
1d89fd983a travis.yml: Add OS X testbot. 2015-08-21 12:48:52 +02:00
Rémy Léone
b3c7f5159a travis: Upgrading to container based build
http://docs.travis-ci.com/user/migrating-from-legacy

Closes #388
2015-08-20 23:28:05 +02:00
Jay Satiro
e424a1b3e7 .travis.yml: Change CI make test to make test-full
- Change the continuous integration script to use 'make test-full'
instead of just 'make test' so that the diagnostic log output is
printed to stdout when a test fails.

- Change the continuous integration script to use
'./configure --enable-debug' instead of just './configure' so that the
memory analyzer will work during testing.

Prior to this change Travis used its default C test script:
./configure && make && make test
2015-03-10 20:37:17 +01:00
Rémy Léone
be31924f8c Adding a .travis.yml file to use the travis-ci.org
From wikipedia:

Travis CI is a hosted, distributed continuous integration service used
to build and test projects hosted at GitHub.

Travis CI is configured by adding a file named .travis.yml, which is a
YAML format text file, to the root directory of the GitHub repository.

Travis CI automatically detects when a commit has been made and pushed
to a GitHub repository that is using Travis CI, and each time this
happens, it will try to build the project and run tests. This includes
commits to all branches, not just to the master branch. When that
process has completed, it will notify a developer in the way it has been
configured to do so — for example, by sending an email containing the
test results (showing success or failure), or by posting a message on an
IRC channel. It can be configured to run the tests on a range of
different machines, with different software installed (such as older
versions of a programming language, to test for compatibility).
2013-10-21 23:15:16 +02:00