Jussi Pakkanen
77b72e8573
Update CI image to bionic.
7 years ago
Aleksey Filippov
aa3b4d5969
Skip CI for documentation-only pull requests
7 years ago
Aleksey Filippov
909c93eee5
Enable CI builds for release branches
7 years ago
Alexis Jeandet
d10b836155
Activate Qt5 tests on OSX CI
...
v2:
Qt5 only
Fix Qt PATH
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Jon Turney
3a4ac966d0
Fix OSX CI with current homebrew
...
Since [1], python3 is now an alias for python, so installing it, rather than
upgrading it, will fail.
It seems that homebrew can't do this upgrade without breaking python2, so
uninstall and reinstall python2 (and mercurial which depends on it) to work
around that problem.
[1] https://brew.sh/2018/01/19/homebrew-1.5.0/
7 years ago
Benjamin Redelings
d5eeda56b3
Explicitly include homebrew paths.
7 years ago
Jussi Pakkanen
a4db467669
Use GCC 7 for cross compilation tests.
7 years ago
Nirbheek Chauhan
7c2ae55fab
Revert "Revert "Merge pull request #1931 from centricular/use-patched-ninja""
...
This reverts commit 5eb64a6f3e
.
Let's try again, with a fixed Ninja by QuLogic.
7 years ago
Jussi Pakkanen
cb8b5a165a
Removed --cov from travis.yml since coverage is currently disabled.
7 years ago
Jussi Pakkanen
21e2315afd
Remove coverage because pip is broken in Travis.
7 years ago
Jussi Pakkanen
5eb64a6f3e
Revert "Merge pull request #1931 from centricular/use-patched-ninja"
...
This reverts commit aab7ada356
, reversing
changes made to e1b24765af
.
7 years ago
Nirbheek Chauhan
6582cd28c8
CI: Use QuLogic's Ninja patches
...
This way we get some testing for the patches, and speed up our builds.
My server is hosted on a UK Linode, so it should have good uptimes.
However, we should likely move this into the Docker image at least
for Linux, and perhaps put it in a CI cache for the rest.
7 years ago
Jussi Pakkanen
fb4ab84491
Use && to ensure failed test run is flagged properly.
8 years ago
Elliott Sales de Andrade
617a0da426
Give each coverage build a unique name.
...
Travis builds are currently build number (123.1, 123.2, etc.) and
AppVeyor is some random string, making it hard to determine which builds
cover what.
8 years ago
Elliott Sales de Andrade
8a9479f8ea
Enable code coverage on Travis.
8 years ago
Jussi Pakkanen
8d3d6382e8
Upgrade CI image to Ubuntu Zesty.
8 years ago
Jussi Pakkanen
b48daeda1a
Make it possible to only do unity builds on subprojects.
8 years ago
Nirbheek Chauhan
de45535b7d
travis: Also set OBJC and OBJCXX to CC/CXX
...
Else they are only autodetected and we don't test both GCC and Clang.
8 years ago
Jussi Pakkanen
344231d336
Only build master on pushes.
8 years ago
Nirbheek Chauhan
1e1abc675e
travis.yml: Export CC and CXX inside the docker instance
...
docker does not inherit the parent environment and loses the CC/CXX
settings for testing against clang and gcc.
8 years ago
Nirbheek Chauhan
d41b903f07
travis.yml: Don't test for GCC on OS X
...
GCC on OS X is just a wrapper around Clang, so the test results will
always be identical.
8 years ago
Nirbheek Chauhan
0af9941986
travis: Disable sudo; we don't need it
...
Requiring sudo makes builds take massively longer to start. At one point
we had a build waiting for a full hour to start.
https://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
8 years ago
Nirbheek Chauhan
9ec6c7e238
travis.yml: Run tests for both unity builds too
8 years ago
Nirbheek Chauhan
8213ef5511
travis.yml: Run tests against both gcc and clang
8 years ago
Jussi Pakkanen
8105c6f027
Upgrade docker build image to yakkety.
8 years ago
Nirbheek Chauhan
cd6d5a642d
travis: Manually export TRAVIS=true for linux builds
...
Docker wipes the environment before starting a build, so TRAVIS doesn't
get set and our run_tests.py script doesn't print logs for failing
tests.
8 years ago
Nirbheek Chauhan
3b67e1e379
travis/osx: Set SDKROOT for XCode
...
Needed at least for Swift
8 years ago
Jussi Pakkanen
432f515bc0
Use ninja backend on OSX CI builds.
9 years ago
Jussi Pakkanen
bda06cee12
Added OSX support for Travis.
9 years ago
Jussi Pakkanen
d3d37c4296
Travis conf cleanup.
9 years ago
Jussi Pakkanen
d2d1f77866
Copy contents of current checkout into Docker container. This should make MR builds work properly.
9 years ago
Jussi Pakkanen
28b555d2c8
Whitespace fix to test new Docker setup.
9 years ago
Jussi Pakkanen
7e664fde8c
Use only one Docker run invocation since two seem to bee too much and break it.
9 years ago
Jussi Pakkanen
061c04db3f
Specify tag to use for building.
9 years ago
Jussi Pakkanen
d08a23c001
Lint fix to get the build started.
9 years ago
Jussi Pakkanen
1000ad4898
Added experimental travis file.
9 years ago
Jussi Pakkanen
5222fb9226
Removed travis file because it uses precise which is too ancient to work.
10 years ago
Jussi Pakkanen
cc82a02720
Add some dependencies to travis file.
10 years ago
Jussi Pakkanen
e52312293d
Added travis file to test CI.
10 years ago