Commit Graph

246 Commits

Author SHA1 Message Date
Patrick Niklaus
018742f50f Constrain the number of jobs on container builds 2017-04-11 22:33:38 +00:00
Patrick Niklaus
b82d21f856 Install yarn when not there 2017-04-11 22:33:38 +00:00
Patrick Niklaus
cfaadf198f Attempt sudo:false build matrix for node 2017-04-11 22:33:38 +00:00
Daniel J. Hofmann
70b3962c35 NodeJS Binding Tests
Does not run the nodejs tests in sanitized builds. We'd have to

    export LD_PRELOAD='/usr/lib/x86_64-linux-gnu/libasan.so.2'

the asan lib. But it seems like our Clang from mason does not like the
system's libasan. Also we'd need a suppression file for v8 and node.
2017-04-04 16:57:44 +00:00
Patrick Niklaus
d200507424 Fix travis.yml 2017-03-30 20:12:07 +00:00
Patrick Niklaus
fc84f605af Switch from commit message publishing to tag-based publishing 2017-03-30 20:12:07 +00:00
Patrick Niklaus
927dea37bb Fix publishing node binaries 2017-03-30 20:12:07 +00:00
Patrick Niklaus
de98ae57b7 Switch to yarn 2017-03-30 20:12:07 +00:00
Daniel J. Hofmann
215489286d Back to Monaco for examples and benchmarks 2017-03-21 20:10:39 +00:00
Patrick Niklaus
934f87bcdd Try disabling sanitizer fo GCC6 for now 2017-03-21 20:10:39 +00:00
Patrick Niklaus
ff872b4009 Fix example 2017-03-21 20:10:39 +00:00
Daniel J. Hofmann
2351b5a084 Merges node-osrm into repository
Build with

    cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_NODE_BINDINGS=On -DENABLE_MASON=On
2017-03-21 20:10:39 +00:00
Daniel J. Hofmann
0a917a77f5 Updates Travis builds to Clang 4.0 2017-03-15 13:01:30 +01:00
Daniel J. Hofmann
583699c84d Enables LTO for Travis Release Builds 2017-03-15 13:01:30 +01:00
Daniel J. Hofmann
89c62bf67f Removed components flag in travis config; we build it per default 2017-03-10 11:09:59 +01:00
Patrick Niklaus
36ab848aba Fix travis 2017-03-08 00:56:50 +00:00
Patrick Niklaus
fc9b5938e6 Hardcode path to test data dir for library-tests
This was needed because we now need multiple datasets for testing.
CMake will automatically prepare these over the makefile in test/data.
2017-03-08 00:56:50 +00:00
Michael Krasnyk
172b1ff9d1 Enable building osrm-extract-conditionals on travis 2017-03-06 16:16:17 +00:00
Moritz Kobitzsch
e8cca36369 fix tbb leaks 2017-03-01 16:09:29 +00:00
Moritz Kobitzsch
d473acb56d fix edge duration truncation in partition, pending global fix
fix windows compilation
no multi line warnings
sanitze on mason with newer TBB
2017-03-01 16:09:29 +00:00
Moritz Kobitzsch
b789da45bd add unit tests for the different components of the parttion tool 2017-03-01 16:09:29 +00:00
Patrick Niklaus
7ecf3410bf Bundle mason.cmake and mason.sh 2017-02-16 16:08:07 +00:00
Daniel J. Hofmann
7ef95e9918 Upgrades LLVM 3.8.1 -> LLVM 3.9.1 on Travis
LLVM 3.9.1 is now packaged in mason: https://github.com/mapbox/mason/issues/308
Upgrade our Clang compiler to the latest stable release.

Keeps clang-format at 3.8.1 for consistency.
2017-01-09 14:25:34 +05:30
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