瀏覽代碼

Merge pull request #222 from vmarkovtsev/master

Adapt to travis.org -> .com
Vadim Markovtsev 6 年之前
父節點
當前提交
4982508a51
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 3 3
      .travis.yml
  2. 1 1
      README.md

+ 3 - 3
.travis.yml

@@ -57,7 +57,7 @@ before_install:
   - sudo ldconfig
   - sudo ldconfig
 install:
 install:
   - git clean -xfd
   - git clean -xfd
-  - make TAGS=tensorflow
+  - travis_retry make TAGS=tensorflow
 script:
 script:
   - set -e
   - set -e
   - if [ $TRAVIS_GO_VERSION == "1.11.x" ]; then test -z "$(gofmt -s -l . | grep -v vendor/)"; fi
   - if [ $TRAVIS_GO_VERSION == "1.11.x" ]; then test -z "$(gofmt -s -l . | grep -v vendor/)"; fi
@@ -100,7 +100,7 @@ jobs:
         - gzip -S .darwin_amd64.gz $GOPATH/bin/hercules
         - gzip -S .darwin_amd64.gz $GOPATH/bin/hercules
       script: skip
       script: skip
       install:
       install:
-        - make
+        - travis_retry make
       deploy:
       deploy:
         provider: releases
         provider: releases
         api_key:
         api_key:
@@ -120,7 +120,7 @@ jobs:
         - export PATH=$GOPATH/bin:$PATH
         - export PATH=$GOPATH/bin:$PATH
       script: skip
       script: skip
       install:
       install:
-        - make
+        - travis_retry make
       after_success:
       after_success:
         - gzip -S .linux_amd64.gz $GOPATH/bin/hercules
         - gzip -S .linux_amd64.gz $GOPATH/bin/hercules
       deploy:
       deploy:

+ 1 - 1
README.md

@@ -5,7 +5,7 @@
 <p align="center">
 <p align="center">
       Fast, insightful and highly customizable Git history analysis.<br><br>
       Fast, insightful and highly customizable Git history analysis.<br><br>
       <a href="http://godoc.org/gopkg.in/src-d/hercules.v7"><img src="https://godoc.org/gopkg.in/src-d/hercules.v7?status.svg" alt="GoDoc"></a>
       <a href="http://godoc.org/gopkg.in/src-d/hercules.v7"><img src="https://godoc.org/gopkg.in/src-d/hercules.v7?status.svg" alt="GoDoc"></a>
-      <a href="https://travis-ci.org/src-d/hercules"><img src="https://travis-ci.org/src-d/hercules.svg?branch=master" alt="Travis build Status"></a>
+      <a href="https://travis-ci.com/src-d/hercules"><img src="https://travis-ci.com/src-d/hercules.svg?branch=master" alt="Travis build Status"></a>
       <a href="https://ci.appveyor.com/project/vmarkovtsev/hercules"><img src="https://ci.appveyor.com/api/projects/status/49f0lm3v2y6xyph3?svg=true" alt="AppVeyor build status"></a>
       <a href="https://ci.appveyor.com/project/vmarkovtsev/hercules"><img src="https://ci.appveyor.com/api/projects/status/49f0lm3v2y6xyph3?svg=true" alt="AppVeyor build status"></a>
       <a href="https://hub.docker.com/r/srcd/hercules"><img src="https://img.shields.io/docker/build/srcd/hercules.svg" alt="Docker build status"></a>
       <a href="https://hub.docker.com/r/srcd/hercules"><img src="https://img.shields.io/docker/build/srcd/hercules.svg" alt="Docker build status"></a>
       <a href="https://codecov.io/gh/src-d/hercules"><img src="https://codecov.io/github/src-d/hercules/coverage.svg" alt="Code coverage"></a>
       <a href="https://codecov.io/gh/src-d/hercules"><img src="https://codecov.io/github/src-d/hercules/coverage.svg" alt="Code coverage"></a>