Michael Krasnyk
aced058c4a
Use clang-format from mason
2017-01-04 08:46:16 +01:00
Michael Krasnyk
84b618ed1a
Add headers consistency check
2016-12-15 10:58:17 +01:00
Patrick Niklaus
c99c8bccbc
Make the binutil detection work the same for clang and gcc
...
This uses the cmake internal find_program that will utilize the PATH at
configuration time. This way we don't need to pass CXXFLAGS to clang.
2016-12-01 21:55:17 +01:00
Dane Springmeyer
da6ca640a7
only install/enable binutils gold and llvm-ar when building in Release
2016-12-01 21:55:17 +01:00
Dane Springmeyer
f6f7a9290f
no need for llvm package
2016-12-01 21:55:17 +01:00
Dane Springmeyer
9687a9325c
remove llvm-nm
2016-12-01 21:55:17 +01:00
Dane Springmeyer
43566bfd14
support -flto with clang++
2016-12-01 21:55:17 +01:00
Daniel Patterson
560d8ffec0
Restructure API docs so that they can be formatted with Docbox. ( #3355 )
...
Generate Docbox browseable HTML with `npm run build-api-docs`
2016-11-30 19:38:53 -08:00
Dane Springmeyer
b2c27fbd25
test xcode8.2
2016-11-22 18:03:51 +01:00
Patrick Niklaus
844300b95a
Print number of used jobs
2016-11-19 17:02:31 +01:00
Patrick Niklaus
79c2ae46d8
Determine number of jobs over ncpu + 1
2016-11-19 17:02:31 +01:00
Patrick Niklaus
d023e7c581
Don't use mason clang on OSX
2016-11-19 17:02:31 +01:00
Patrick Niklaus
4ccb08983f
Fixed installing clang for mason builds
2016-11-19 17:02:31 +01:00
Patrick Niklaus
8c941d1344
Don't install clang when CLANG_VERSION is not set
2016-11-19 17:02:31 +01:00
Patrick Niklaus
841c032a0d
Don't warn in example on 32bit only print message
2016-11-19 17:02:31 +01:00
Patrick Niklaus
3687864cc1
Only run OSX in release
2016-11-18 17:49:05 +01:00
Dane Springmeyer
4b5466629f
test with assertions+release on travis
2016-11-18 17:49:05 +01:00
Michael Krasnyk
44e4728bde
Added gcc 4.9 release build
2016-11-17 16:02:56 +01:00
Dane Springmeyer
15ed53d4a7
install ccache/cmake via consistent method
2016-11-12 02:48:13 +01:00
Dane Springmeyer
63be191775
speed up osx builds by avoiding homebrew
2016-11-12 02:48:13 +01:00
Dane Springmeyer
41f083cded
test customized build directory, make test/data/Makefile customizable
2016-11-10 11:56:51 -08:00
Moritz Kobitzsch
1b03b8df6d
raising timeout limit for cucumber on clang
2016-11-07 18:29:49 +01:00
Dane Springmeyer
de14a72931
adjust example build setup to new mason location
2016-10-28 12:48:20 -07:00
Dane Springmeyer
83b7d75121
Add support for building against mason-provided deps
2016-10-27 23:26:33 -07:00
Dane Springmeyer
4598599f52
# This is a combination of 4 commits.
...
# The first commit's message is:
Add support for building against mason-provided deps
# This is the 2nd commit message:
back to just one travis job: linux/release
# This is the 3rd commit message:
remove pkg-config debugging [skip ci]
# This is the 4th commit message:
use clang++ 3.8.1 for mason builds since 3.8 is what we have been using
2016-10-27 23:26:33 -07:00
Dane Springmeyer
a22e0fa62e
minor build fixes
...
- Travis: Upgrade clang from 3.8.0 to 3.8.1 (provides smaller package for faster downloading)
- Travis: Makes BUILD_COMPONENTS an option
- Followup after #3130 (Boost_LIBRARIES variable no longer exists)
2016-10-27 13:39:33 -07:00
Daniel J. Hofmann
865c6590fa
Limits the object cache size to 256M
2016-10-20 11:33:28 -07:00
Patrick Niklaus
983ad3513a
Enabled address sanitizer
2016-10-19 18:30:06 +02:00
Patrick Niklaus
ca914b8b1f
Use newest bintools with gcc 6, thanks @oxidase
2016-10-19 18:30:06 +02:00
Michael Krasnyk
ff1ab217ba
Debug and i686 builds
2016-10-04 16:37:29 +02:00
Patrick Niklaus
49a9d7f57a
Try switching to GCC 6
2016-10-04 16:37:29 +02:00
Dane Springmeyer
8b7cd2931b
set cacher timeout just under 10 minutes
2016-08-04 17:16:53 -07:00
Michael Krasnyk
eb6083daf5
Fix travis build
2016-08-02 12:31:46 +02:00
Patrick Niklaus
eda6d9dc7c
Builds components on travis again
2016-07-30 23:49:35 +02:00
Dane Springmeyer
71d64e8cd9
Default to c++14 / drop g++-4.8 from testing matrix
2016-07-25 19:30:43 +02:00
Patrick Niklaus
9b737230d6
Reenable ARM builds
2016-07-22 13:57:57 +02:00
Dane Springmeyer
3601d1d262
increase travis cacher timeout to ensure large caches are able to be uploaded and downloaded
2016-07-21 17:58:57 +02:00
Patrick Niklaus
6ac65a922f
Disable ARM builds until sourceforge comes up again
2016-07-13 14:19:33 +02:00
Daniel J. Hofmann
34ace4dd4b
Let Travis fail fast if CMake/Clang download fails, fixes #2433
2016-06-21 18:08:19 +02:00
Michael Krasnyk
6e4f6fec91
Added armhf Travis build
2016-06-20 22:45:40 +02:00
Michael Krasnyk
57c9525e5c
Added i686 Travis build
2016-06-20 22:45:40 +02:00
Dane Springmeyer
dfafe7dc5f
Install clang-3.8 via mason binary
2016-06-04 12:15:29 +02:00
Dane Springmeyer
6ecc123d15
Fix various issues with pkg-config
2016-06-04 12:08:54 +02:00
Daniel J. Hofmann
e7159adf59
Switching off any LLVM APT references as servers are no longer available
...
References:
- http://lists.llvm.org/pipermail/llvm-foundation/2016-June/000025.html
2016-06-01 20:04:52 +02:00
Patrick Niklaus
e08c4cff13
Make PRs fail if they don't adhere to our style format
2016-05-27 21:05:43 +02:00
Dane Springmeyer
451a0d9090
try caching test data on travis
2016-05-27 00:40:49 +02:00
Dane Springmeyer
a5ed53e7aa
install cmake from mason / simplify install
2016-05-24 13:35:13 -04:00
Dane Springmeyer
4d92f08424
disable spotlight indexing on osx to speed up 'npm test'
2016-05-23 19:35:22 -04:00
Patrick Niklaus
4ce1a37772
Limit osrm-extact to 3 jobs because OOM
2016-05-11 22:43:26 +02:00
Patrick Niklaus
8dd4cc5c40
Integrate codecov
2016-05-11 22:43:18 +02:00
Patrick Niklaus
96127c289c
Set OSX timeout to a minute
2016-05-06 10:36:40 +02:00
Patrick Niklaus
cfed65f7ea
Double timeout again
2016-05-05 21:07:38 +02:00
Patrick Niklaus
c2263fec9b
One TIMEOUT to rule them all
2016-05-05 18:36:30 +02:00
Patrick Niklaus
497720d060
Bump timeout and lower jobs on OSX
2016-05-05 17:12:22 +02:00
Patrick Niklaus
a2d83753bc
Install ccmake on OSX
2016-05-05 11:39:15 +02:00
Patrick Niklaus
eedf75d951
Correct path to test data
2016-05-04 20:44:05 +02:00
Patrick Niklaus
3f51a1ae2e
Run tests from build directory
2016-05-04 19:46:27 +02:00
Patrick Niklaus
a000f80705
[skip ci] Use 3 jobs on travis to utilize cores better
2016-05-04 19:39:52 +02:00
Patrick Niklaus
7030bff7f7
Fix typo in compiler name
2016-05-04 19:24:13 +02:00
Patrick Niklaus
bb0b7fd2d1
Modify compiler name for ccache key
2016-05-04 19:22:43 +02:00
Patrick Niklaus
71e1f3679e
Restructure travis run
2016-05-04 19:12:07 +02:00
Patrick Niklaus
b33517b099
Remove pip from dependencies
2016-05-04 18:55:29 +02:00
Patrick Niklaus
f3d5336892
Lint .travis.yml
2016-05-04 18:46:08 +02:00
Patrick Niklaus
d81f25d54e
Enable ccache compression
2016-05-04 18:42:47 +02:00
Patrick Niklaus
9287475b2a
ccache needs language: cpp
2016-05-04 15:09:02 +02:00
Patrick Niklaus
b4976f89f2
APT seems slow, try explicitly enabling
2016-05-04 14:27:44 +02:00
Patrick Niklaus
93c8674a40
Disable coverage builds since coveralls is broken
2016-05-04 14:02:11 +02:00
Patrick Niklaus
aab1aad8f4
Enable ccache
2016-05-04 13:54:04 +02:00
Patrick Niklaus
65a6dc704e
Disable all release builds but one
2016-05-04 13:41:55 +02:00
Patrick Niklaus
9d3ad22bc7
Fix path to monaco data
2016-04-25 00:46:36 +02:00
Patrick Niklaus
cc35d15b2d
More folds and reorder some build instructions
2016-04-25 00:19:48 +02:00
Patrick Niklaus
d83a34f72b
Remove develop branch from travis
2016-04-22 14:51:38 +02:00
Patrick Niklaus
f9da5f2c80
Fix coverall flags
2016-04-12 16:20:45 +02:00
Patrick Niklaus
3fa533d91e
Okay include build again since it seems to contain the coverage files
2016-04-09 00:28:04 +02:00
Patrick Niklaus
c0db144906
Exclude build and third_party
2016-04-09 00:07:19 +02:00
Patrick Niklaus
ea2ec168b0
Cleanup .travis.yml and run coverall from root
2016-04-08 21:40:05 +02:00
Patrick Niklaus
6643e7f499
Integrate converage reporting
2016-04-08 20:37:51 +02:00
Daniel J. Hofmann
b1ed268d0e
Start modularizing the CMake buildsystem
...
The main reason for modularizing the unit tests was to split off
libboost_unit_test_framework from the osrm toolchain binaries.
Now only the unit test binaries link against it, unblocking
binary distribution without unit test library dependencies.
I started this on v4 a couple of weeks ago and hit a -llua5 issue on
Travis. By now v5 diverged quite a bit (especially in the code that I
have to stare at for debugging the issues).
https://github.com/Project-OSRM/osrm-backend/pull/2073
Let's bring this to v5+ only.
This is blocking:
- https://github.com/Project-OSRM/osrm-backend/issues/2065
- https://github.com/Project-OSRM/osrm-backend/issues/2197#issuecomment-204864938
2016-04-06 18:36:06 +02:00
Patrick Niklaus
83b86bf092
Fix typo .travis.yml for clang compiler name
2016-04-06 18:08:22 +02:00
Daniel J. Hofmann
954caa6804
The C compiler is used for several CMake tests, match with C++ compiler
2016-04-06 15:25:18 +02:00
Patrick Niklaus
8b6da4d2fe
Enable server-tests on travis
2016-04-06 15:20:53 +02:00
Patrick Niklaus
f2d70d972d
Temporarily enable travis for rewrite/new-api branch
2016-04-06 15:16:28 +02:00
Daniel J. Hofmann
b20de76037
Make verbose sections foldable on Travis
2016-04-06 10:58:49 +02:00
Daniel J. Hofmann
88052cd194
Adapts our Travis config to continuously run the library unit tests
2016-04-05 22:59:14 +02:00
Patrick Niklaus
54ee76bcef
Add benchmark target to Makefile and save timings
2016-04-05 18:57:31 +02:00
Daniel J. Hofmann
b27e0e2807
Update CMake from 3.3 to 3.5 on Travis
2016-04-04 12:29:15 +02:00
Daniel J. Hofmann
8267ed53f0
Pins LLVM 3.8 (stable) instead of tracking the nightly repository
2016-04-04 12:27:45 +02:00
Lauren Budorick
c8bb50497b
Rewrite cucumber test suite in JS
2016-03-24 16:01:01 -07:00
Patrick Niklaus
88fac0ad2b
Use language: generic
to use the minimal image
...
Since we are pulling all dependencies from PPA this just gives use the
advantage of faster boot up times.
2016-03-11 06:34:17 +01:00
Patrick Niklaus
45a9a6c4df
Switch example to monaco
2016-03-11 05:58:42 +01:00
Daniel J. Hofmann
c2e49bd152
Do not install already installed deps. on OSX TraviS build, this should be made future proof
2016-03-10 20:27:46 +01:00
Daniel J. Hofmann
0c5899b2a2
Disable ccache on Travis until we can cache the ccache cache directory, fixes #2057
2016-03-07 12:39:32 +01:00
Daniel J. Hofmann
33403efc8e
Use XCode 7.3 on Travis
2016-03-01 23:50:43 +01:00
Patrick Niklaus
47a9981571
Disabling style failing the tests for now
2016-02-25 01:08:23 +01:00
Daniel J. Hofmann
0b45678ccc
Adapts Travis to run the formatter script checking for violations
2016-02-25 01:07:00 +01:00
Daniel J. Hofmann
908a9e9fa1
Reorders Travis builds by most likely failing one
2016-02-16 09:49:29 -08:00
Daniel J. Hofmann
0ebabfad73
Finish Travis build as soon as a single job failed.
...
Manually cancelling obviously failing builds is getting cumbersome.
Hopefully this will speed things up as a side effect.
References:
- https://docs.travis-ci.com/user/customizing-the-build/#Fast-Finishing
2016-02-16 09:49:29 -08:00
Patrick Niklaus
0f9eec887f
Only run script on linux
2016-01-26 07:01:11 +01:00
Patrick Niklaus
234cf2d847
Move taginfo check
2016-01-26 07:01:11 +01:00
Patrick Niklaus
752c15c230
Add taginfo checker script and update taginfo
2016-01-26 07:01:11 +01:00