Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcmay authored Oct 30, 2018
1 parent 98cfa2d commit b64499e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,28 @@ os:
matrix:
allow_failures:
- rust: nightly

before_script:
- rustup update
- rustup component add clippy-preview

script:
- cargo clippy
- cargo test

before_deploy:
- cargo doc
- cargo package

deploy:
provider: releases
api-key:
secure:
skip_cleanup: true
on:
tags: true
branch: solana-master
condition: "$TRAVIS_RUST_VERSION = stable"

after_deploy:
- cargo publish --token "$CRATES_IO_TOKEN"

0 comments on commit b64499e

Please sign in to comment.