Setup travis to do matrix builds with ruby for libimagruby
This commit is contained in:
parent
94db98cfc6
commit
7a83a0dbd2
1 changed files with 39 additions and 7 deletions
44
.travis.yml
44
.travis.yml
|
@ -1,14 +1,40 @@
|
||||||
sudo: false
|
sudo: false
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
|
||||||
|
dist:
|
||||||
|
- trusty
|
||||||
|
|
||||||
language: rust
|
language: rust
|
||||||
rust:
|
|
||||||
- 1.13.0
|
matrix:
|
||||||
- beta
|
include:
|
||||||
- stable
|
- rust: 1.13.0
|
||||||
cache: cargo
|
env: IMAG_RUBY_VERSION=2.3.3
|
||||||
|
- rust: beta
|
||||||
|
env: IMAG_RUBY_VERSION=2.3.3
|
||||||
|
- rust: stable
|
||||||
|
env: IMAG_RUBY_VERSION=2.3.3
|
||||||
|
|
||||||
|
cache:
|
||||||
|
cargo: true
|
||||||
|
directories:
|
||||||
|
- $TRAVIS_BUILD_DIR/libimagruby/vendor/bundle
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- |
|
||||||
|
rvm install "$IMAG_RUBY_VERSION"
|
||||||
|
rvm use "$IMAG_RUBY_VERSION"
|
||||||
|
ruby --version
|
||||||
|
pushd libimagruby
|
||||||
|
bundle install --jobs=3 --retry=3 --path=$TRAVIS_BUILD_DIR/libimagruby/vendor/bundle
|
||||||
|
popd
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- |
|
- |
|
||||||
pip install 'travis-cargo<0.2' --user &&
|
pip install 'travis-cargo<0.2' --user &&
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
make all test
|
make all test
|
||||||
|
@ -26,12 +52,14 @@ addons:
|
||||||
- tree
|
- tree
|
||||||
sources:
|
sources:
|
||||||
- kalakris-cmake
|
- kalakris-cmake
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- |
|
- |
|
||||||
pushd .imag-documentation &&
|
pushd .imag-documentation &&
|
||||||
travis-cargo --only stable doc &&
|
travis-cargo --only stable doc &&
|
||||||
travis-cargo --only stable doc-upload
|
travis-cargo --only stable doc-upload
|
||||||
popd
|
popd
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
on_success: never
|
on_success: never
|
||||||
|
@ -40,7 +68,11 @@ notifications:
|
||||||
- chat.freenode.net#imag
|
- chat.freenode.net#imag
|
||||||
template:
|
template:
|
||||||
- "%{repository_name} (%{branch} @ %{commit} by %{author}): %{result}"
|
- "%{repository_name} (%{branch} @ %{commit} by %{author}): %{result}"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- TRAVIS_CARGO_NIGHTLY_FEATURE=dev
|
- THERMITE_DEBUG_FILENAME=/tmp/thermite-debug.log
|
||||||
- secure: D+3exBnbvzFvk7fvLOxkF7UotCc4gBbvvOW4xGr9u6dDjEjV5y6CdDy/OQAkhfKhvSou+lIC22g5MuCBQXFEf/ua7A1XzwBAFeVLK4cWZSa7+ql6LdHKqOg3oF6pQlh095WeWr8S2PYJFFJFg8RGUPnbjqdu1J4KSXqe/7GoZ3lYS69mx7D5Hb93KEN084/KGfBuvyJtMjO1fK3spltL2zV8oqegFpv0gLG5GY4LsJ/7ij4Mc6wepXSyyQbaiA1eKMMwQZDvoi4V1mCulo/jeC3pucGxvgnMV5DZs8aa8R7votltGvSpHCgU78LW19dg8oZqwShQQ+XUYw27H+QK5V1lz1l1MaJLbwS3ySyZBPGH8qUuOzQ3bLp9xhAIRgCui3kX/UDhmeME7nJI6k3UZydh+/ydNB1BZHTKn76XS/yFj0Gcibxg7f5fcAYA6Ge5Sg+YPozuwbcKnKe6IpN2M7qNgWa+6MCSXJ1v4BgPb7kN74EynJUM8+yWEFN7MZtWEUQ4ZsHdCs8Pub4C/zHpYGV8qGenZwQzosAFq56YwoGCvJezz35yg4BDd3IMKenOzNnXLBrdxxqX8ySgwt5B3zBqwve/64Lx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