Let the travis gem format the .travis.yml file
This commit is contained in:
parent
c434e1cd29
commit
35c4ce3348
1 changed files with 66 additions and 75 deletions
11
.travis.yml
11
.travis.yml
|
@ -4,14 +4,11 @@ rust:
|
|||
- beta
|
||||
- nightly
|
||||
- stable
|
||||
|
||||
cache: cargo
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- rust: nightly
|
||||
- rust: beta
|
||||
|
||||
before_install:
|
||||
- |
|
||||
c=$(git diff $(git merge-base master $TRAVIS_COMMIT)..$TRAVIS_COMMIT --name-only | cut -d "/" -f 1 | uniq)
|
||||
|
@ -22,12 +19,10 @@ before_install:
|
|||
echo "Changes in other directories than ./doc"
|
||||
echo "continue build..."
|
||||
fi
|
||||
|
||||
before_script:
|
||||
- |
|
||||
pip install 'travis-cargo<0.2' --user &&
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
|
||||
script:
|
||||
- |
|
||||
travis_cargo_run_in() {
|
||||
|
@ -67,26 +62,22 @@ script:
|
|||
echo -e "--- Done with test scripts ---\n\n"
|
||||
} || true
|
||||
done
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libcurl4-openssl-dev
|
||||
- libelf-dev
|
||||
- libdw-dev
|
||||
|
||||
after_success:
|
||||
- travis-cargo --only stable doc-upload
|
||||
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
||||
irc:
|
||||
channels:
|
||||
- "chat.freenode.net#imag"
|
||||
- chat.freenode.net#imag
|
||||
template:
|
||||
- "%{repository_name} (%{branch} @ %{commit} by %{author}): %{result}"
|
||||
|
||||
env:
|
||||
global:
|
||||
- TRAVIS_CARGO_NIGHTLY_FEATURE=dev
|
||||
|
|
Loading…
Reference in a new issue