Skip to content

Commit

Permalink
Make Travis build everything, including examples
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrosland committed Oct 13, 2018
1 parent d1bce8e commit 6d060fa
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cache: cargo
language: rust
rust:
- nightly
- 1.28.0
- stable

before_cache:
# Travis can't cache files that are not readable by "others"
Expand All @@ -15,8 +17,14 @@ install:
script:
# Fudge sanity checks and build docs
- MMAL_INCLUDE_DIR=/tmp MMAL_LIB_DIR=/tmp cross doc --target armv7-unknown-linux-gnueabihf
- MMAL_INCLUDE_DIR=/tmp MMAL_LIB_DIR=/tmp cross build --all --target armv7-unknown-linux-gnueabihf

after_success:
# Upload the documentation from the build with nightly
deploy:
# Upload the documentation from the build with stable
# Runs on the master branch, not individual PRs
- bash ci/docs.sh
provider: script
script: bash ci/docs.sh
skip_cleanup: true
on:
branch: master
rust: stable

0 comments on commit 6d060fa

Please sign in to comment.