Slack - Setting up Slack build notification in Travis CI

要使用 Slack 接收 Travis CI 的建置通知訊息,可在 Slack 中加入 Travis CI App。 ...

November 13, 2018 · 1 min · 146 words · Larry Nung

Travis CI - Restore package with Yarn

要讓 Travis CI 使用 Yarn 去還原套件,最簡單的方式就是將 yarn.lock 一併簽入版控,Travis CI 偵測到 yarn.lock 後就會改使用 Yarn 去做套件的還原。 ...

July 11, 2017 · 1 min · 130 words · Larry Nung

Hexo - Auto deploy with Travis CI

要使用 Travis CI 自動幫我們發佈 Hexo 部落格,先參閱筆者 Travis CI - Free Hosted Continuous Integration Platform for the Open Source Community | Level Up 這篇,登入 Travis CI ,給予授權,並為 Repository 啟用 Travis CI。 ...

August 12, 2016 · 2 min · 546 words · Larry Nung

Travis CI - Trigger build with service hook test

一般來說, Travis CI 在使用時會主動在程式碼 Push 到 Server 時自動做建置的動作,但難以避免的,有的時候我們還是會需要在特定時機點手動觸發建置。這時如果為此特意 Commit ,整個版控紀錄會變得很亂,所以要透過 GitHub 的 Test Service Hook 功能去觸發 Travis CI 建置。 ...

February 23, 2014 · 1 min · 202 words · Larry Nung

Travis CI - Build Status images

Travis CI 支援 Build status image,能讓我們將 Repository 建置的狀態嵌至網站上。 ...

January 15, 2014 · 1 min · 229 words · Larry Nung

Travis CI - Build .NET project

Travis CI 內建支援 C、C++、Clojure、Erlang、Go、Groovy、Haskell、Java、Python、Ruby 等語言,卻沒有支援 .Net 的,這表示官方並不特別的去做 .Net 語言的支援。然而 Travis CI 具備有相當程度的彈性,經由設定能在建置前先進行套件的安裝,因此我們還是能透過安裝 Mono 套件去建置 .Net 的專案。 ...

January 2, 2014 · 1 min · 373 words · Larry Nung

Travis CI - Free Hosted Continuous Integration Platform for the Open Source Community

Travis CI 是免費的 CI 服務,支援 C、C++、Clojure、Erlang、Go、Groovy、Haskell、Java、Python、Ruby等語言。能用來建置 GitHub 上的 Repository, 為 GitHub 加上 CI 的能力,不需另行為此架設 CI Server。只要在 Repository 放置個 Travis CI 的設定檔,並授權給 Travis CI,最後再將 Service Hook 啟用就可以了。 ...

January 1, 2014 · 2 min · 609 words · Larry Nung