forked from RustAudio/coreaudio-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (34 loc) · 1.02 KB
/
Copy path.travis.yml
File metadata and controls
34 lines (34 loc) · 1.02 KB
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
language: rust
rust:
- stable
- beta
- nightly
notifications:
email:
- mitchell.nordine@gmail.com
os:
- osx
env:
matrix:
- LD_LIBRARY_PATH: /usr/local/lib
global:
- secure: URNNlOqxnfwWDC/w4PDTCswqe9ccnkIqDwfQecppfEui4KhpYXfrG9gx3xupWzWMfX+NPEcXtiyWA4CuUYaHbWWINLeLQUk650AFEqaRSiTpeh45Y9nh3dHT4fFDz4OeNfayNBBKL0kx5YwrugoeQggIgnF2KEcIHMF0+BbTtAM=
before_script:
- rustc --version
- cargo --version
- rustup target add aarch64-apple-ios
script:
- cargo build --verbose
- cargo test --verbose
- cargo doc --verbose
- cargo build --target aarch64-apple-ios
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc &&
echo "<meta http-equiv=refresh content=0;url=coreaudio/index.html>" > target/doc/index.html &&
pip install --user ghp-import &&
ghp-import -n target/doc &&
# Redirect any output to `/dev/null` to hide any sensitive
# credential data that might otherwise be exposed.
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages > /dev/null 2>&1