]> andersk Git - libyaml.git/blobdiff - .travis.yml
Fix problems in CI failures (travis and semaphore)
[libyaml.git] / .travis.yml
index 8140b72bf3353f6d8fe61383cf9c324158e844f4..835a0e9a42aef6c0b660cff712f725862e76bd07 100644 (file)
@@ -1,20 +1,27 @@
+language: c
 
 matrix:
   include:
-    - os: linux
-      sudo: required
-      compiler: gcc
-    - os: linux
-      sudo: required
-      compiler: clang
-    - os: osx
-      compiler: gcc
-    - os: osx
-      compiler: clang
-
-language: c
+  - os: linux
+    compiler: gcc
+    sudo: required
+  - os: linux
+    compiler: clang
+    sudo: required
+  - os: osx
+    compiler: gcc
+  - os: osx
+    compiler: clang
 
 before_install:
-- 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: tests/run-tests.sh
+# 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: tests/run-all-tests.sh
This page took 0.05304 seconds and 4 git commands to generate.