以下の内容はhttps://blog.kengo-toda.jp/entry/2013/03/06/235407より取得しました。


build matrix for Maven project on Travis CI

Travis CI supports build matrix, it let you to build your project in several environment. For instance, I build my project in 6 environments:

  • OpenJDK 1.6, SLF4J 1.6.6
  • OpenJDK 1.7, SLF4J 1.6.6
  • OracleJDK 1.7, SLF4J 1.6.6
  • OpenJDK 1.6, SLF4J 1.7.2
  • OpenJDK 1.7, SLF4J 1.7.2
  • OracleJDK 1.7, SLF4J 1.7.2

To switch JDK, you can use parameter in .travis.yml.

Using Maven profile is good way to switch build environment. You can use script parameter to set profile. Here is an example to set profile.

language: java
jdk:
  - oraclejdk7
env:
  matrix:
    - SLF4J_VERSION=1.7.2
    - SLF4J_VERSION=1.6.6

script: "mvn clean install -P build-with-${SLF4J_VERSION}"



以上の内容はhttps://blog.kengo-toda.jp/entry/2013/03/06/235407より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14