smithay/.travis.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

2017-02-22 13:08:53 +00:00
language: rust
rust:
- stable
- beta
- nightly
os:
- linux
2017-02-22 13:23:20 +00:00
dist: trusty
2017-02-22 13:08:53 +00:00
before_install:
- sudo apt-get install -y libwayland-dev
branches:
only:
- master
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
2017-02-22 13:31:36 +00:00
- |
mkdir $(pwd)/socket &&
export XDG_RUNTIME_DIR="$(pwd)/socket"
2017-02-22 13:08:53 +00:00
script:
- |
travis-cargo build &&
travis-cargo --only stable doc
after_success:
- travis-cargo --only stable doc-upload
env:
global:
# override the default `--features unstable` used for the nightly branch (optional)
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
2017-02-22 13:31:36 +00:00
- RUST_BACKTRACE=1
2017-02-22 13:08:53 +00:00
- secure: A/zuPuIu03Z+rqnDS/NNNjbXrg8Nc9lEGKzcBdpHgnyd23z37zreEEAKzFhjJKMx0np0ntDo5LVeLgT6d7fGaDFsJrBZHej3pxuG81MAJdLEmJNaCLCc1eCbwDHgJkEJ5HsblHTrYK0RjBvNL5I8+URuzEqXkwVr7UHJv5px1ZA=
notifications:
webhooks:
urls:
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGxldmFucyUzQXNhZmFyYWRlZy5uZXQvJTIxRkt4aGprSUNwakJWelZlQ2RGJTNBc2FmYXJhZGVnLm5ldA"
on_success: change
on_failure: always
on_start: never