Skip to content
Snippets Groups Projects
.travis.yml 614 B
Newer Older
  • Learn to ignore specific revisions
  • Carl Lerche's avatar
    Carl Lerche committed
    ---
    language: rust
    
    rust:
      - nightly
    
      - stable
    
    Carl Lerche's avatar
    Carl Lerche committed
      - 1.10.0
    
    os:
      - linux
      - osx
    
    matrix:
      allow_failures:
        - rust: nightly
    
    before_script:
      - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
    
    Carl Lerche's avatar
    Carl Lerche committed
    
    script:
    
    Carl Lerche's avatar
    Carl Lerche committed
      - cargo build
      - RUST_BACKTRACE=1 cargo test
    
    Carl Lerche's avatar
    Carl Lerche committed
      - cargo doc --no-deps
    
    Carl Lerche's avatar
    Carl Lerche committed
    
    after_success:
      - travis-cargo --only stable doc-upload
    
    env:
      global:
        secure: "f17G5kb6uAQlAG9+GknFFYAmngGBqy9h+3FtNbp3mXTI0FOLltz00Ul5kGPysE4eagypm/dWOuvBkNjN01jhE6fCbekmInEsobIuanatrk6TvXT6caJqykxhPJC2cUoq8pKnMqEOuucEqPPUH6Qy6Hz4/2cRu5JV22Uv9dtS29Q="
    
    notifications:
      email:
        on_success: never