Skip to content

Commit

Permalink
add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Kordish committed Dec 1, 2017
1 parent 6dd36d5 commit d397418
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: rust
rust:
- nightly
script:
- cargo build --release
cache: cargo
before_deploy:
- git config --local user.name "jkordish"
- git config --local user.email "joe@unicornclouds.com"
- git tag "$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)"
deploy:
provider: releases
api_key:
secure: IYdzYLh+8GxtMegoGxArsceIAxzea8ZxGt3twifDrIsyFHOsb9Ydnn4BrUtZRr3ISoEs3cR1zN9prHZY+uE60AqCe8hrD5EkbzRXTUn3s/b6eorqw5nOxCQNG5P6tgYHxwOueFTv87f0OnPcib/VCsndW95CcMlNs4ARLYWNj9nPrVucMcyNteOTl75dVf17oUnrHS7IfloKLZUuZV01sCLnmv2Uu7xxEq7LkIUQUOenLlZW6zFpbissLCB0K0f2kgFi4+nH17K7mm4rRgdXjqqnGxAzASN9OFqalSR1ZKqLmWEW5gtouG0IsAAnP3U1LY9cQoaE5XHFTYCxWxWg0VJwbDQ7xV38o02F/aHHy74qPNkV+XW8PceSOGaX2GymQ19BecTx7fnzA1hTSII7pFlFMT0FPlb2bkiRonp8fhAno3U8g0UuFFyzE0D7ttX9E4j5PfU32YTqx0V7LrPv35zp96MTuEKzGk6cB/12TUkJxbAniL9b/Ghh7+vB8kfv1r9mt/TIk9Ife/UDnDx3YcVOZlWnDFufx88LbDNJIlcYxHoO2UPKTJT+0nL4FbTFBxBN1HeWbrekQqmCt/Ha+OFUT9g6r3Vx8lIrAe0ov4p0EglhOONP+PLZSj1304lbG5FMyKE1gwaAhGoLi76hwrv34DozfmxKGhvrHoufmQk=
file: "./target/release/copy-ami-tags"
on:
tags: true
skip_cleanup: true
sudo: false
branches:
only:
- "/^v\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# copy-ami-tags.rs
# copy-ami-tags.rs [![Build Status](https://travis-ci.org/jkordish/copy-ami-tags.rs.svg?branch=master)](https://travis-ci.org/jkordish/copy-ami-tags.rs)
Take [Packer](https://github.com/hashicorp/packer/) generated manifest.json and copy the AMI tags to other accounts

### building from source
Expand All @@ -23,7 +23,7 @@ $ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly
```

```shell
$ cargo install --git https://github.com/jkordish/copy-ami-tags.rs.git
$ cargo install --git https://github.com/jkordish/copy-ami-tags.rs.git
```

### executing
Expand Down

0 comments on commit d397418

Please sign in to comment.