summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 2a0ab75f0d8bb9554fe82ff07313b45dc217446b (plain)
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
language: rust
sudo: required

matrix:
  include:
    - rust: 1.36.0
    - rust: stable
    - rust: beta
    - rust: nightly

#    - name: "master doc to gh-pages"
#     rust: nightly
#     script:
#       - cargo doc --no-deps
#       - cargo doc --no-deps --manifest-path libssh2-sys/Cargo.toml
#     deploy:
#       provider: script
#       script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd target/doc && ../../rust_out)
#       skip_cleanup: true
#       on:
#         branch: master

script:
  - cargo build
  - tests/run_integration_tests.sh
  - rustdoc --test README.md -L target
  - cargo run --manifest-path systest/Cargo.toml

notifications:
  email:
    on_success: never