| 1 | language: rust |
| 2 | sudo: false |
| 3 | |
| 4 | script: |
| 5 | - cargo build |
| 6 | - cargo test |
| 7 | - cargo bench --no-run |
| 8 | - cargo doc |
| 9 | |
| 10 | after_success: |
| 11 | - if [ "$TRAVIS_PULL_REQUEST" == false && test == "TRAVIS_BRANCH" == "master" ]; then |
| 12 | - curl https://raw.githubusercontent.com/reem/rust-gh-docs/master/make-docs.sh > docs.sh |
| 13 | - chmod u+x docs.sh |
| 14 | - ./docs.sh reem project-name |
| 15 | |
| 16 | env: |
| 17 | global: |
| 18 | secure: QPYL1XUr4CyK/2DXlsYC1eCpWRpyEiqQSd/FFVR+YdP/rOJ7AyAXQqPhfgjDBQwvc6E2fUiyYjoV/xe1a757DDeZKlgd8Lp20fSDwvNt/Ejx8ueh3h3kuOtgDpIGSKX/l+XC+ltDpzjhh7bowI2/fOEf+kE53jvu9i4PiLnKdlY= |
| 19 |