You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
629 B
39 lines
629 B
language: rust |
|
|
|
matrix: |
|
include: |
|
- env: TARGET=thumbv7em-none-eabihf |
|
rust: stable |
|
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) |
|
|
|
script: |
|
- cargo build --verbose |
|
|
|
before_install: set -e |
|
|
|
install: |
|
- bash ci/install.sh |
|
|
|
script: |
|
- cargo build --release --target $TARGET |
|
|
|
#after_success: |
|
# - bash ci/after-success.sh |
|
|
|
#after_script: set +e |
|
|
|
cache: cargo |
|
|
|
before_cache: |
|
# Travis can't cache files that are not readable by "others" |
|
- chmod -R a+r $HOME/.cargo |
|
|
|
branches: |
|
only: |
|
- master |
|
- staging |
|
- trying |
|
|
|
notifications: |
|
email: |
|
on_success: never
|
|
|