forked from jeremyletang/ears
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
35 lines (35 loc) · 843 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: rust
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
- os: osx
os:
- linux
- osx
install:
- |
[ $TRAVIS_OS_NAME = linux ] || brew install openal-soft libsndfile
addons:
apt:
packages:
- libopenal-dev
- libsndfile1-dev
script:
- cargo test
after_success:
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_RUST_VERSION = stable ] &&
[ $TRAVIS_OS_NAME = linux ] &&
cargo doc &&
git clone https://github.com/davisp/ghp-import &&
./ghp-import/ghp-import target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
env:
global:
secure: Y9hUYf92K2SdAQKlWpM/I6Lv0Ft3MpEv7pVurOyRlSfUL5ZbllKdOUimXz9yNk+KB+xa7EPAw/TeJCgxH6h3TflKSowecLVkg7o5t2V1AEqZqmZ5yrB5sOZc4auT+r1xM8EnFsksf8IJb9vQ1HVr234ho/is6jft4GIKEvKmwi0=