| 1 | language: rust |
| 2 | rust: |
| 3 | - stable |
| 4 | - beta |
| 5 | - nightly |
| 6 | os: |
| 7 | - linux |
| 8 | - osx |
| 9 | cache: |
| 10 | cargo: true |
| 11 | timeout: 900 |
| 12 | before_cache: |
| 13 | # Travis can't cache files that are not readable by "others" |
| 14 | - chmod -R a+r $HOME/.cargo |
| 15 | matrix: |
| 16 | allow_failures: |
| 17 | - nightly |
| 18 | script: |
| 19 | - cargo build |
| 20 | - cargo test |