aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
AgeCommit message (Collapse)AuthorFilesLines
2018-10-01travis: install llvm on osxDylan Baker1-2/+3
It turns out we have bugs.
2018-08-19Fix various small test failures on macOSNirbheek Chauhan1-1/+3
These weren't caught by the CI because we have pkg-config on it, and these were testing non-pkg-config codepaths. The unity build on macOS now doesn't have pkg-config to ensure that the codepath is tested.
2018-08-01Fix .travis.yml for updated OSX imageJon Turney1-2/+1
Since [1], OSX builds on travis fail with: Error: Refusing to uninstall /usr/local/Cellar/python/3.6.5_1 because it is required by gdal, numpy, postgis, which are currently installed. Revise #3163 [1] https://blog.travis-ci.com/2018-07-19-xcode9-4-default-announce
2018-06-18Test that binaries that use external libraries workNirbheek Chauhan1-1/+1
When we link to an external library either with find_library() without any dirs:, or with dependency(), we should be able to run uninstalled out of the box without having to set any environment variables or other shenanigans. This is especially important on macOS because only the system frameworks directory is in the default runtime path, and all other frameworks and libraries need to be found with RPATH or absolute path to the dylib.
2018-06-10run_tests: Run all cross tests togetherNirbheek Chauhan1-8/+2
There is a lot of overhead for each travis job, because docker pull takes 3 minutes. Each cross test takes 3-4 minutes. To make things worse, sometimes Dockerhub is slow and docker pull takes longer than 3 minutes.
2018-06-05.travis.yml: Add CI for armhf and mingwNirbheek Chauhan1-1/+15
Also split them out to their own jobs. Travis gives us 5 parallel jobs now, so we can parallelize it a bit more.
2018-05-02Update CI image to bionic.Jussi Pakkanen1-2/+2
2018-03-25Skip CI for documentation-only pull requestsAleksey Filippov1-0/+1
2018-03-21Enable CI builds for release branchesAleksey Filippov1-0/+2
2018-03-05Activate Qt5 tests on OSX CIAlexis Jeandet1-2/+2
v2: Qt5 only Fix Qt PATH Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-03-03Fix OSX CI with current homebrewJon Turney1-1/+2
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/
2018-01-01Explicitly include homebrew paths.Benjamin Redelings1-1/+1
2017-10-28Use GCC 7 for cross compilation tests.Jussi Pakkanen1-2/+2
2017-09-18Revert "Revert "Merge pull request #1931 from centricular/use-patched-ninja""Nirbheek Chauhan1-3/+5
This reverts commit 5eb64a6f3e47b570f544524ef48dc6ef0e4dce59. Let's try again, with a fixed Ninja by QuLogic.
2017-09-10Removed --cov from travis.yml since coverage is currently disabled.Jussi Pakkanen1-2/+2
2017-09-09Remove coverage because pip is broken in Travis.Jussi Pakkanen1-6/+0
2017-07-18Revert "Merge pull request #1931 from centricular/use-patched-ninja"Jussi Pakkanen1-5/+3
This reverts commit aab7ada356e02033e4030143cf363d06d975283b, reversing changes made to e1b24765afd9e7d2d8043a408d69c7ad814d3551.
2017-07-17CI: Use QuLogic's Ninja patchesNirbheek Chauhan1-3/+5
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.
2017-06-03Use && to ensure failed test run is flagged properly.Jussi Pakkanen1-1/+1
2017-05-21Give each coverage build a unique name.Elliott Sales de Andrade1-1/+1
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.
2017-05-21Enable code coverage on Travis.Elliott Sales de Andrade1-2/+14
2017-05-09Upgrade CI image to Ubuntu Zesty.Jussi Pakkanen1-2/+2
2017-04-15Make it possible to only do unity builds on subprojects.Jussi Pakkanen1-1/+1
2017-02-21travis: Also set OBJC and OBJCXX to CC/CXXNirbheek Chauhan1-2/+2
Else they are only autodetected and we don't test both GCC and Clang.
2016-12-07Only build master on pushes.Jussi Pakkanen1-0/+4
2016-11-08travis.yml: Export CC and CXX inside the docker instanceNirbheek Chauhan1-1/+1
docker does not inherit the parent environment and loses the CC/CXX settings for testing against clang and gcc.
2016-11-08travis.yml: Don't test for GCC on OS XNirbheek Chauhan1-0/+6
GCC on OS X is just a wrapper around Clang, so the test results will always be identical.
2016-11-04travis: Disable sudo; we don't need itNirbheek Chauhan1-1/+1
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/
2016-11-04travis.yml: Run tests for both unity builds tooNirbheek Chauhan1-2/+6
2016-11-04travis.yml: Run tests against both gcc and clangNirbheek Chauhan1-0/+4
2016-10-26Upgrade docker build image to yakkety.Jussi Pakkanen1-2/+2
2016-10-08travis: Manually export TRAVIS=true for linux buildsNirbheek Chauhan1-1/+1
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.
2016-10-07travis/osx: Set SDKROOT for XCodeNirbheek Chauhan1-1/+1
Needed at least for Swift
2016-05-30Use ninja backend on OSX CI builds.Jussi Pakkanen1-1/+1
2016-05-30Added OSX support for Travis.Jussi Pakkanen1-7/+15
2016-05-28Travis conf cleanup.Jussi Pakkanen1-2/+0
2016-05-28Copy contents of current checkout into Docker container. This should make MR ↵Jussi Pakkanen1-2/+9
builds work properly.
2016-05-28Whitespace fix to test new Docker setup.Jussi Pakkanen1-1/+2
2016-05-26Use only one Docker run invocation since two seem to bee too much and break it.Jussi Pakkanen1-2/+1
2016-05-26Specify tag to use for building.Jussi Pakkanen1-3/+2
2016-05-26Lint fix to get the build started.Jussi Pakkanen1-0/+2
2016-05-26Added experimental travis file.Jussi Pakkanen1-0/+12
2015-03-23Removed travis file because it uses precise which is too ancient to work.Jussi Pakkanen1-12/+0
2015-03-23Add some dependencies to travis file.Jussi Pakkanen1-1/+2
2015-03-23Added travis file to test CI.Jussi Pakkanen1-0/+11