Skip to content

Commit

Permalink
Releasing binaries on github releases page
Browse files Browse the repository at this point in the history
  • Loading branch information
ffissore committed Apr 4, 2019
1 parent f344605 commit 36b9199
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
dist: xenial
language: rust
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
- rust: beta
rust: stable
cache: cargo
script:
- cargo build --verbose --release
- cargo test --verbose --release
before_deploy:
- cd target/release
- tar cjvf ../../geoip-rs-$TRAVIS_TAG-linux-amd64.tar.bz2 geoip-rs
- cd $TRAVIS_BUILD_DIR
deploy:
provider: releases
api_key: $GH_TOKEN
file_glob: true
file: geoip-rs*.tar.bz2
skip_cleanup: true
on:
tags: true

0 comments on commit 36b9199

Please sign in to comment.