-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zachary Dziura
committed
May 16, 2018
1 parent
26aecf2
commit abfb69e
Showing
12 changed files
with
410 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,5 @@ Cargo.lock | |
.history | ||
|
||
# End of https://www.gitignore.io/api/rust | ||
|
||
sterling-conf.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
image: "rust:latest" | ||
stages: | ||
- test | ||
- deploy | ||
|
||
cargo:test: | ||
stage: test | ||
only: | ||
- master | ||
script: | ||
- cargo test --verbose | ||
|
||
cargo:build: | ||
stage: deploy | ||
only: | ||
- master | ||
script: | ||
- cargo build --release | ||
cache: | ||
paths: | ||
- target/ | ||
artifacts: | ||
paths: | ||
- target/release/sterling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
language: rust | ||
os: | ||
- osx | ||
branches: | ||
only: | ||
- master | ||
rust: | ||
- stable | ||
script: | ||
- cargo test --verbose | ||
- cargo build --release | ||
before_deploy: | ||
- git config --local user.name "Zachary Dziura" | ||
- git config --local user.email "zcdziura@gmail.com" | ||
- git tag "$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)-osx" | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: "NVH5d3CH0QUyFSu0MbeB3WvSo52qwjxH98wIL7kieD/kbTrTzTCbTWiTCV+/OM41nWOdxTy9T5TLqDsrh4k4xCkb4VbKTcsfIpBaQqwMvT6Co/GgLr4xSiHBI/ENBVwbnyDavMxh/E5AAAPF/HgGci2tEqzNuu9V7jon6uhb8+WovbfZeEA4tSNLsWV5g3MwssMfdaWzDPTHsiWXFPn6AVhkmy4fKAIHoUtp37A7bqx1hGPpFD3OGYN1oDxtJK5jRBSXegyWh08RQkLQ74PJTWD6Xw+Hvp1ewP1vitP69VJgsBC496jPasqAEOVeD3KogtcmBEyaIG+I5LZWLTibs41qF83cxJDdWxw69H827IXSQobM+7Sc51chWJR0H3OA1yDPQvorI1C17zvXd4wPpDfSUeY5ZqAplnYMOxk3jDbbX099bEyRE/skWHRaqL99fV7i5bO3aHDFP/BDjp03hnzpvfKs9zm05e87LStriNYQ5NsCPkdX+W18Q15DLhS2D9cp37PPAUA5jLNUFiEY5x9fwl5XEpefBqrqmE8qbmkc9GTr3MZikmTfB51Nx5NvkybCTKhMoKw5AhNLmw0fnkaqxrei7Uif7WqxTkngJep6VLidmt2pRJ9Qj3AWOXsLZJPm0ZQuo71dWC049EeEVtfQkyz/9K2J+iNVRgdiEeg=" | ||
file_glob: true | ||
file: target/release/sterling | ||
skip_cleanup: true | ||
on: | ||
repo: zcdziura/sterling | ||
branch: master | ||
addons: | ||
artifacts: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
os: Visual Studio 2015 | ||
branches: | ||
only: | ||
- master | ||
environment: | ||
matrix: | ||
- channel: stable | ||
target: x86_64-pc-windows-gnu | ||
artifacts: | ||
- path: target/release/sterling.exe | ||
name: sterling | ||
install: | ||
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe | ||
- rustup-init -yv --default-toolchain %channel% --default-host %target% | ||
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin | ||
- rustc -vV | ||
- cargo -vV | ||
build: false | ||
test_script: | ||
- cargo test --verbose | ||
- cargo build --release | ||
deploy: | ||
provider: GitHub | ||
description: '' | ||
auth_token: | ||
secure: bvA/4J1T0h65ur6tsg6k/wlZFjP3qr2QsyRsmGMEmm7DOF61xmzTnjuBcPjQYrba | ||
artifact: target/release/sterling.exe | ||
on: | ||
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.