Commit Graph

64 Commits

Author SHA1 Message Date
Jim Apple
147c2849af THRIFT-2026: Eliminate some undefined behavior in C/C++
Clients: glib, C++
Patch: Jim Apple <jbapple-impala@apache.org>

This closes #1214

This patch fixes some undefined behavior were found using Clang's
UndefinedBehaviorSanitizer (UBSan). To check for undefined behavior,
run /build/docker/scripts/ubsan.sh. This is run during CI builds, as
well.

The examples of the types of undefined behavior fixed in this commit
are:

1. Enumerations exhibit undefined behavior when they have values
   outside of a range dependent on the values of their enumerators, as
   specified in C++14's chapter 7.2 ("Enumeration declarations"),
   paragraph 8.

2. Left shift of negative values, used in zigzag encoding, is
   undefined behavior. See 5.8 ("Shift operators"), paragraph 2 for
   C++ and 6.5.7 ("Bitwise shift operators"), paragraph 4 for C99 and
   C11.
2017-03-25 08:16:18 -04:00
James E. King, III
736075d2ac THRIFT-4095: add multiplexed protocol to Travis CI jobs 1 and 2 for make cross 2017-02-18 13:55:30 -05:00
Nobuaki Sukegawa
2c64bddc00 THRIFT-3918 Run subset of make cross
This closes #1079
2016-09-04 21:13:40 +09:00
Nobuaki Sukegawa
93fb7eadd0 THRIFT-3907 Skip Docker image build on CI when unchanged 2016-09-04 21:13:32 +09:00
Nobuaki Sukegawa
a52ea350d8 THRIFT-3852 A Travis-CI job fails with "write error" 2016-06-12 16:12:30 +09:00
Nobuaki Sukegawa
7be78ea0b3 THRIFT-3816 Reduce docker build duration on Travis-CI
This closes #1007
2016-05-15 00:25:04 +09:00
Nobuaki Sukegawa
6505312e0a THRIFT-3747 Duplicate node.js build on Travis-CI
This closes #953
2016-03-18 04:40:16 +09:00
Nobuaki Sukegawa
c40018b28f THRIFT-3659 Check configure result of CMake on CI
This closes #886
2016-03-06 09:46:33 +09:00
Nobuaki Sukegawa
ed23b2b4ce THRIFT-3696 Install pip to CentOS Docker images to fix Python builds
This closes #912
2016-03-06 09:46:22 +09:00
Nobuaki Sukegawa
3dd4d8eca8 THRIFT-3698 [Travis-CI] Introduce retry to apt commands
This closes #913
2016-03-02 23:44:22 +09:00
Nobuaki Sukegawa
50bb860acd follow-up: THRIFT-3690 Work around docker image build failures on Travis-CI
When hanged, travis_wait travis_retry ... fails after 20 mins.
travis_retry travis_wait ... might let us actually retry.
2016-03-02 23:44:22 +09:00
Nobuaki Sukegawa
d479e23a1d THRIFT-3691 Run flake8 Python style check on Travis-CI
Client: Build (Python)
Patch: Nobuaki Sukegawa

This closes #907
2016-02-28 12:05:14 +09:00
Nobuaki Sukegawa
2c5ed27a25 THRIFT-3690 Work around docker image build failures on Travis-CI
Client: Build
Patch: Nobuaki Sukegawa

This closes #906
2016-02-28 12:04:05 +09:00
Nobuaki Sukegawa
f2952847e6 THRIFT-3681 Fix Dart tutorial build
Client: Build (Dart)
Patch: Nobuaki Sukegawa

This closes #901
2016-02-27 16:55:55 +09:00
Nobuaki Sukegawa
ea5845a2f5 THRIFT-3633 Travis "C C++ - GCC" build was using clang
Client: Build
Patch: Nobuaki Sukegawa

This closes #868
2016-02-14 22:47:19 +09:00
Nobuaki Sukegawa
5b44612d20 Revert part of 2eed686406
make check hang in Go is fixed by THRIFT-3597
2016-02-04 14:28:24 +09:00
Nobuaki Sukegawa
2eed686406 Fix CI build for THRIFT-3251 Add http transport for server to Go lib
This closes #829
2016-02-01 21:23:25 +09:00
Roger Meier
447294f176 THRIFT-3469 Docker: Debian support
This closes #746
2016-01-10 13:32:47 +01:00
Nobuaki Sukegawa
33744b0524 THRIFT-3515 Python 2.6 compatibility and test on CI
This closes #766
2016-01-05 03:02:35 +09:00
Nobuaki Sukegawa
7b69c1889e Remove Travis-CI allow_failures entry for CentOS 7
It seems that upstream CentOS image update fixed the Python import failure.
2016-01-03 23:30:19 +09:00
Nobuaki Sukegawa
0156aaed10 Use Docker image from master branch on Travis-CI 2015-12-09 23:21:45 +09:00
Nobuaki Sukegawa
a6ab1f5e6d THRIFT-3452 .travis.yml: Migrating from legacy to container-based infrastructure
Client: Build
Patch: Nobuaki Sukegawa

Use "services: docker"

This closes #730
2015-12-05 11:28:27 +09:00
Nobuaki Sukegawa
73fae0fbb7 Revert "THRIFT-3443 Thrift include can generate uncompilable code"
This reverts commit ef3cf819e1.

Also disables tutorial build for Go on Travis to avoid failure caused
by this revert.
2015-12-02 01:22:12 +09:00
Nobuaki Sukegawa
e58ed1ad39 THRIFT-3441 Stabilize Travis-CI builds
Client: Build
Patch: Nobuaki Sukegawa

This closes #715
2015-11-25 22:53:26 +09:00
Nobuaki Sukegawa
826ea998d5 THRIFT-3400 Add Erlang to cross test
Client: Test, Erlang
Patch: Nobuaki Sukegawa
2015-10-31 14:54:12 +09:00
Nobuaki Sukegawa
27378fa34e THRIFT-3398 Add CMake build for Haskell library and tests
Client: Build, Haskell
Patch: Nobuaki Sukegawa

This closes #660
2015-10-29 00:41:52 +09:00
Nobuaki Sukegawa
2a640c4ca2 THRIFT-3303 Disable concurrent cabal jobs on Travis to avoid GHC crash
This closes #592
2015-09-21 23:48:09 +02:00
Henrique Mendonça
aba4b1f2b0 travis CI sudo: required 2015-06-27 12:16:17 +10:00
Roger Meier
4ead520841 THRIFT-3155 move contrib/mingw32-toolchain.cmake to build/cmake/ 2015-05-16 21:09:18 +02:00
Nobuaki Sukegawa
fd5a4d2969 THRIFT-3137 Travis build hangs after failure 2015-05-10 18:25:56 +02:00
Roger Meier
fa0a125d22 .travis.yml: remove accidently added add sudo command 2015-04-27 21:56:51 +02:00
Roger Meier
71f2d8a714 THRIFT-3067 C++ cppcheck performance related warnings
Patch: Arijit Chattopadhyay <arijitnit06@gmail.com>

This closes #444
2015-04-26 17:00:04 +02:00
Roger Meier
7ed94ef8e8 THRIFT-3110 Print error log after cross test failures on Travis
This closes #458

 commit 7dfc994028df512d791f79c090d3d6cc1108a815
 Author: Nobuaki Sukegawa <nsukeg@gmail.com>
 Date: 2015-04-23T16:38:55Z
2015-04-26 16:55:35 +02:00
Nobuaki Sukegawa
f5b795d3be THRIFT-2578 Moving 'make cross' from test.sh to test.py 2015-03-29 14:39:32 +02:00
Roger Meier
41ad4342c5 THRIFT-847 Test Framework harmonization across all languages
THRIFT-2946 Enhance usability of cross test framework

Patch: Nobuaki Sukegawa

This closes: #358
2015-03-24 22:30:40 +01:00
henrique
7f9fa8831f THRIFT-3007 Travis build is broken because of directory conflict
Patch: Nobuaki Sukegawa

    This closes #381
2015-02-23 10:27:34 +08:00
jfarrell
e03f7e8e75 THRIFT-2962:Docker Thrift env for development and testing
Client: build
Patch: jfarrell

Adds build folder and moves all travis, cmake and docker build scripts into
one location for easier maintainability.
2015-02-18 23:25:54 -05:00
Nobuaki Sukegawa
a10697a9db THRIFT-2909 Improve travis build 2014-12-21 16:36:47 +01:00
Nobuaki Sukegawa
2825664f25 THRIFT-2893 CMake build fails with boost thread or std thread
Following changes are made to fix the build
* Add USE_..._THREAD compiler definitions correctly
* Link to boost_thread and boost_system when configured with boost thread
* Link to pthread if platform is posix and std thread is used
* Use PlatformThreadFactory in test code
2014-12-21 16:36:46 +01:00
Pascal Bach
54d3969e44 Add CMake builds to travis 2014-12-13 22:02:29 +01:00
Roger Meier
5effab65e3 .travis.yml: restructure matrix build, add QA, add CMake builds 2014-11-16 22:31:33 +01:00
Roger Meier
71bd360f04 .travis.yml: just use 2 cores 2014-11-08 23:13:13 +01:00
Konrad Grochowski
4ab18cef74 THRIFT-2711 - proper build result returned from Travis
Travis will properly mark build as failed
2014-09-22 23:38:29 +02:00
henrique
c0a7d72c83 THRIFT-2638 travis: build with Haskell
Patch: John Chee
2014-07-26 13:11:12 +02:00
henrique
ac8d8e260e THRIFT-2635 Travis CI build and test matrix
This closes #163
2014-07-23 23:31:04 +02:00
henrique
55087a49d3 THRIFT-2571 doc and speed up travis build 2014-06-17 12:36:39 +02:00
henrique
bbac92453b THRIFT-2571 Simplify cross compilation using CMake
Patch: Pascal Bach

    This closes #137

----
2014-06-11 09:28:17 +02:00
henrique
48b189716f THRIFT-2471 requires libboost 1.54
+ additional script clean up
2014-06-10 15:19:55 +02:00
Pascal Bach
569863a138 Allow cross build for windows using mingw32
- Build the compiler using CMake for:
  - Linux native gcc
  - Windows using mingw32
2014-06-10 13:44:02 +02:00
henrique
ad4df16579 THRIFT-2534 Cross language test results should recorded to a status.md or status.html file automatically
also removes go and lua from travis CI builds
2014-05-20 13:18:45 +02:00