I am trying to create tests with buck using buck testC ++ targets on Travis CI servers (via GitHub), but there are two things that I cannot understand.
- I need to install
buckon Travis servers. How can I use OSX servers instead of Ubuntu? I read in the Travis documentation that it offers OS X servers as well. So I can just go ahead and do brew tap facebook/fb && brew install buck, and I'll be ready. buckrequires that I specify the compiler for use in the file .buckconfigin the repository. However, this allows an absolute path to the compiler. Travis CI configurations seem to provide only an environment variable that contains the path to the compiler. However, environment variables cannot be used in .buckconfig. Is there any way to install the compiler (fully supporting C ++ 14) and get the path where it is installed on the Travis server?
EDIT: I highlighted the questions to make it easier for people who have no experience with all the things I mentioned (Buck and Travis) to answer this question.
source
share