X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/blobdiff_plain/c72cf5fde86348406b8115fece6a5bb4cc61b98d..639981a546267ca32109b0138c1cd569ce33c39c:/.travis.yml diff --git a/.travis.yml b/.travis.yml index dada04b..835a0e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,27 @@ -os: -- linux -- osx - language: c -compiler: -- clang -- gcc +matrix: + include: + - os: linux + compiler: gcc + sudo: required + - os: linux + compiler: clang + sudo: required + - os: osx + compiler: gcc + - os: osx + compiler: clang + +before_install: + +# Travis branch-specific clone problem workaround: +- git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* +- git fetch + +- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then + pip install --user scikit-ci-addons==0.15.0; + ci_addons travis/install_cmake 3.2.0; + fi -script: -- ./bootstrap -- ./configure -- make test-all -- make distclean -- cmake . -- make -- make test -- make clean +script: tests/run-all-tests.sh